Disable hostname prefix for runtime telemetry

This commit is contained in:
Nate Brown 2015-07-13 13:17:57 -07:00
parent 3042452def
commit d2c048d870
1 changed files with 1 additions and 0 deletions

View File

@ -358,6 +358,7 @@ func (c *ServerCommand) setupTelementry(config *server.Config) error {
inm := metrics.NewInmemSink(10*time.Second, time.Minute)
metrics.DefaultInmemSignal(inm)
metricsConf := metrics.DefaultConfig("vault")
metricsConf.EnableHostname = false
// Configure the statsite sink
var fanout metrics.FanoutSink