Make metrics gathering timeout configurable

When reducing the collection interval in Prometheus it may be necessary
to to reduce the metrics gathering timeout to ensure it's less than the
interval.  Add config options to adjust the timeouts used for metrics
gathering so that these can be set accordingly.
This commit is contained in:
Hornwitser committed 2020-12-28 07:03:32 +01:00
1 parent 699e3994df
commit 6eef4bd300
9 files changed
+63 -9

No files matched your search

+9
View File
@@ -112,6 +112,15 @@ unavoidable.
Defaults to 30.
### master.metrics_timeout
Timeout in seconds before a call to gather metrics from a slave times
out. This should be less than both the timeout and collection interval
configured for the collection job in Prometheus.
Defaults to 8.
### master.default_role_id
Role to automatically grant to new users. If null no role is granted.