mirror of https://github.com/status-im/consul.git
agent: fix comment
This commit is contained in:
parent
b42916e1ff
commit
74be791f9b
|
@ -713,10 +713,9 @@ func (c *Command) Run(args []string) int {
|
||||||
// Setup the channel for triggering config reloads
|
// Setup the channel for triggering config reloads
|
||||||
c.configReloadCh = make(chan chan error)
|
c.configReloadCh = make(chan chan error)
|
||||||
|
|
||||||
/* Setup telemetry
|
// Setup telemetry
|
||||||
Aggregate on 10 second intervals for 1 minute. Expose the
|
// Aggregate on 10 second intervals for 1 minute. Expose the
|
||||||
metrics over stderr when there is a SIGUSR1 received.
|
// metrics over stderr when there is a SIGUSR1 received.
|
||||||
*/
|
|
||||||
inm := metrics.NewInmemSink(10*time.Second, time.Minute)
|
inm := metrics.NewInmemSink(10*time.Second, time.Minute)
|
||||||
metrics.DefaultInmemSignal(inm)
|
metrics.DefaultInmemSignal(inm)
|
||||||
metricsConf := metrics.DefaultConfig(config.Telemetry.StatsitePrefix)
|
metricsConf := metrics.DefaultConfig(config.Telemetry.StatsitePrefix)
|
||||||
|
|
Loading…
Reference in New Issue