add alert for unhandled exceptions [ci skip]

This commit is contained in:
viktorbarzin 2023-04-05 00:15:10 +01:00
parent 9fe57e2ec6
commit a75e647b48
No known key found for this signature in database
GPG key ID: 0EB088298288D958
2 changed files with 9 additions and 0 deletions

View file

@ -237,6 +237,15 @@ serverFiles:
severity: page
annotations:
summary: Finance app webhook exceptions
- name: Finance app unhandled exceptions
rules:
- alert: Finance app unhandled exceptions
expr: changes(flask_http_request_exceptions_total[5m]) >= 1
for: 1m
labels:
severity: page
annotations:
summary: Finance app unhandled exceptions
extraScrapeConfigs: |
- job_name: 'snmp-idrac'

Binary file not shown.