Set metrics reporting interval to 9 seconds
This is below the 10 second interval that lib/telemetry.go implements as its aggregation interval, ensuring that we always report these metrics.
This commit is contained in:
parent
e9b397005c
commit
b245d60200
|
@ -593,9 +593,12 @@ func DefaultConfig() *Config {
|
|||
},
|
||||
},
|
||||
|
||||
// Stay under the 10 second aggregation interval of
|
||||
// go-metrics. This ensures we always report the
|
||||
// usage metrics in each cycle.
|
||||
MetricsReportingInterval: 9 * time.Second,
|
||||
ServerHealthInterval: 2 * time.Second,
|
||||
AutopilotInterval: 10 * time.Second,
|
||||
MetricsReportingInterval: 10 * time.Second,
|
||||
DefaultQueryTime: 300 * time.Second,
|
||||
MaxQueryTime: 600 * time.Second,
|
||||
|
||||
|
|
Loading…
Reference in New Issue