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

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