You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow configuring a default and override per-collector timeout
This handles a case where, particularly, the user stat collectors can
get blocked behind an exclusive lock preventing the scrape of other
metrics from completing before Prometheus gives up; therefore losing all
metrics and not being able to see that an exclusive lock has been taken
for too long.
Signed-off-by: Joe Wreschnig <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,6 +90,16 @@ auth_modules:
90
90
sslmode: disable
91
91
```
92
92
93
+
### timeouts
94
+
This section allows configuring a default and per-collector timeouts to help metrics get scraped even if a query runs or blocks longer than your configured Prometheus scrape timeout. If a timeout is unset or set to 0 (or `0s`, `0m`, etc.) the timeout is disabled.
want: "error parsing config file \"testdata/config-bad-extra-field.yaml\": yaml: unmarshal errors:\n line 8: field doesNotExist not found in type config.AuthModule",
0 commit comments