Change the default display name from the Circonus Instance ID to

`Nomad`.

The display name is already scoped to target/host.
This commit is contained in:
Sean Chittenden 2017-02-24 14:57:49 -08:00
parent cba7cdeeb2
commit 9cde9296da
No known key found for this signature in database
GPG Key ID: 4EBC9DC16C2E5E16
1 changed files with 4 additions and 0 deletions

View File

@ -684,6 +684,10 @@ func (c *Command) setupTelemetry(config *Config) error {
cfg.CheckManager.Broker.ID = telConfig.CirconusBrokerID
cfg.CheckManager.Broker.SelectTag = telConfig.CirconusBrokerSelectTag
if cfg.CheckManager.Check.DisplayName == "" {
cfg.CheckManager.Check.DisplayName = "Nomad"
}
if cfg.CheckManager.API.TokenApp == "" {
cfg.CheckManager.API.TokenApp = "nomad"
}