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:
parent
cba7cdeeb2
commit
9cde9296da
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue