File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
deployments/prometheus/alerts Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ groups:
2222 description : " JWT issuance p99 latency is {{ $value }}s (threshold: 0.5s)"
2323
2424 - alert : JWT_Revocation_Failures
25- expr : rate(sms_auth_jwt_tokens_revoked_total{reason="database_error "}[5m]) > 0
25+ expr : rate(sms_auth_jwt_tokens_revoked_total{status="error "}[5m]) > 0
2626 for : 5m
2727 labels :
2828 severity : critical
@@ -32,7 +32,7 @@ groups:
3232 description : " JWT revocation database errors occurring at rate {{ $value }}/s"
3333
3434 - alert : JWT_Validation_Failures_High
35- expr : rate(sms_auth_jwt_tokens_validated_total{status="error",reason=~"expired|revoked" }[5m]) / max(rate(sms_auth_jwt_tokens_validated_total[5m]), 0.00001) > 0.1
35+ expr : rate(sms_auth_jwt_tokens_validated_total{status="error"}[5m]) / max(rate(sms_auth_jwt_tokens_validated_total[5m]), 0.00001) > 0.1
3636 for : 5m
3737 labels :
3838 severity : warning
You can’t perform that action at this time.
0 commit comments