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:
Sean Chittenden 2017-02-26 15:18:46 -08:00
parent 362c6a9d6b
commit 42d1c28bf5
No known key found for this signature in database
GPG key ID: 4EBC9DC16C2E5E16

View file

@ -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"
}