v-m/alerts: Ignore Paperless consume_file task
Paperless-ngx uses a Celery task to process uploaded files, converting them to PDF, running OCR, etc. This task can be marked as "failed" for various reasons, most of which are more about the document itself than the health of the application. The GUI displays the results of failed tasks when they occur. It doesn't really make sense to have an alert about this scenario, especially since there's nothing to do to directly clear the alert anyway.
This commit is contained in:
@@ -225,7 +225,11 @@ groups:
|
||||
expr: >-
|
||||
max_over_time(
|
||||
increase(
|
||||
flower_events_total{job="paperless-ngx", type="task-failed"}
|
||||
flower_events_total{
|
||||
job="paperless-ngx",
|
||||
type="task-failed",
|
||||
task!="documents.tasks.consume_file",
|
||||
}
|
||||
)[24h]
|
||||
) > 0
|
||||
annotations:
|
||||
|
||||
Reference in New Issue
Block a user