mirror of https://github.com/status-im/consul.git
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
a3028cad89
commit
bcb586bee2
|
@ -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