mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
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:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user