From 42d1c28bf5d0a1d226b3feb07031c78e111b0715 Mon Sep 17 00:00:00 2001 From: Sean Chittenden Date: Sun, 26 Feb 2017 15:18:46 -0800 Subject: [PATCH] Change the default DisplayName for a Circonus check to be `Vault` instead of the InstanceID. Trivial defaults change, committing direct to `master`. --- command/server.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/command/server.go b/command/server.go index d32ccf332..31da804f8 100644 --- a/command/server.go +++ b/command/server.go @@ -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" }