add alert for unhandled exceptions [ci skip]

This commit is contained in:
viktorbarzin 2023-04-05 00:15:10 +01:00
parent 609435c8bd
commit 38297c2809

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'