agent: fix comment

This commit is contained in:
Frank Schroeder 2017-05-19 11:47:15 +02:00
parent b42916e1ff
commit 74be791f9b
No known key found for this signature in database
GPG Key ID: 4D65C6EAEC87DECD
1 changed files with 3 additions and 4 deletions

View File

@ -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)