1
0
Fork 0

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.
pull/32/head
Dustin 2024-11-04 20:28:11 -06:00
parent 8ecee4133f
commit d76a1360c8
1 changed files with 5 additions and 1 deletions

View File

@ -225,7 +225,11 @@ groups:
expr: >- expr: >-
max_over_time( max_over_time(
increase( 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] )[24h]
) > 0 ) > 0
annotations: annotations: