Change the default DisplayName for a Circonus check to be Vault
instead of the InstanceID.
Trivial defaults change, committing direct to `master`.
This commit is contained in:
parent
362c6a9d6b
commit
42d1c28bf5
|
@ -869,6 +869,10 @@ func (c *ServerCommand) setupTelemetry(config *server.Config) error {
|
|||
cfg.CheckManager.API.TokenApp = "vault"
|
||||
}
|
||||
|
||||
if cfg.CheckManager.Check.DisplayName == "" {
|
||||
cfg.CheckManager.Check.DisplayName = "Vault"
|
||||
}
|
||||
|
||||
if cfg.CheckManager.Check.SearchTag == "" {
|
||||
cfg.CheckManager.Check.SearchTag = "service:vault"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue