File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
deployments/prometheus/alerts Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 22 - name : jwt-alerts
33 rules :
44 - alert : JWT_Validation_ErrorRate_High
5- expr : rate(sms_auth_jwt_tokens_validated_total{status="error"}[5m]) / clamp_min (rate(sms_auth_jwt_tokens_validated_total[5m]), 1e-9 ) > 0.1
5+ expr : rate(sms_auth_jwt_tokens_validated_total{status="error"}[5m]) / max (rate(sms_auth_jwt_tokens_validated_total[5m]), 0.00001 ) > 0.1
66 for : 5m
77 labels :
88 severity : warning
@@ -30,13 +30,3 @@ groups:
3030 annotations :
3131 summary : " JWT revocation failures detected"
3232 description : " JWT revocation errors occurring at rate {{ $value }}/s"
33-
34- - alert : JWT_Validation_Failures_High
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
36- for : 5m
37- labels :
38- severity : warning
39- service : jwt
40- annotations :
41- summary : " High JWT validation failure rate"
42- description : " JWT validation failure rate is {{ $value | humanizePercentage }} (threshold: 10%)"
You can’t perform that action at this time.
0 commit comments