From 9cde9296da1bdf46f92903d840b14a8cdf8f09f5 Mon Sep 17 00:00:00 2001 From: Sean Chittenden Date: Fri, 24 Feb 2017 14:57:49 -0800 Subject: [PATCH] Change the default display name from the Circonus Instance ID to `Nomad`. The display name is already scoped to target/host. --- command/agent/command.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/command/agent/command.go b/command/agent/command.go index 85ed19380..4375b3da6 100644 --- a/command/agent/command.go +++ b/command/agent/command.go @@ -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" }