mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 16:24:37 +03:00
in account & admin web api's, differentiate between server errors and user errors, and add a prometheus monitoring rule for server errors
This commit is contained in:
@ -48,6 +48,11 @@ groups:
|
||||
annotations:
|
||||
summary: webmail submission errors
|
||||
|
||||
- alert: mox-sherpa-server-errors
|
||||
expr: increase(sherpa_errors_total{api=~"mox.*",code=~"server:.*"}[1h]) > 0
|
||||
annotations:
|
||||
summary: sherpa web api server errors
|
||||
|
||||
# the alerts below can be used to keep a closer eye or when starting to use mox,
|
||||
# but can be noisy, or you may not be able to prevent them.
|
||||
|
||||
|
Reference in New Issue
Block a user