Skip to content

Commit

Permalink
corrected the comparison for firing the alert
Browse files Browse the repository at this point in the history
Signed-off-by: spaparaju <[email protected]>
  • Loading branch information
spaparaju committed Apr 29, 2021
1 parent ed7a5c2 commit b87dacd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mixin/alerts/receive.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
avg by (%(dimensions)s) (rate(http_requests_total{code=~"2..", %(selector)s, handler="receive"}[1h]))
/
avg by (%(dimensions)s) (rate(http_requests_total{code=~"2..", %(selector)s, handler="receive"}[12h]))
) * 100 > %(ingestionThreshold)s
) * 100 < %(ingestionThreshold)s
||| % thanos.receive,
'for': '1h',
labels: {
Expand Down

0 comments on commit b87dacd

Please sign in to comment.