Relax threshold for bq_gardener_historical_throughput alerts #873
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
bq_gardener_historical_throughput
query is run every 3h.The current threshold for the alerts that use this query is 3h and 10mins. T
he GardenerHistoricalThroughputIsStalled alert fired because it took BQ Exporter 3h and 13mins to report the new throughput.
This PR is adjusting the threshold to 4h.
Example:
Alert condition became true at 18:15 and resolved itself at 21:28 (3h and 13mins later).
https://prometheus.mlab-oti.measurementlab.net/graph?g0.expr=increase(gardener_jobs_total%7Bdaily%3D%22false%22%2Cstatus%3D%22success%22%7D%5B1d%5D)%20%3E%200%20unless%20on(datatype)%20bq_gardener_historical_throughput%20%3E%200&g0.tab=0&g0.stacked=0&g0.show_exemplars=0&g0.range_input=3h28m21s591ms&g0.end_input=2022-02-03%2021%3A40%3A04&g0.moment_input=2022-02-03%2021%3A40%3A04
This change is