Skip to content

Commit

Permalink
Modifies GCSTransfers_ArchiveFilesDoNotMatchOrMissing alert to sum di…
Browse files Browse the repository at this point in the history
…fference so that we don't get separate alerts for every experiment/datatype combination, but instead one lump sum indicating a non-zero value. (#720)
  • Loading branch information
nkinkade authored Jul 20, 2020
1 parent ac1b1fa commit c4afd96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/federation/prometheus/alerts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -730,8 +730,8 @@ groups:
# This alert enforces that daily transfers are working for all datatypes.
- alert: GCSTransfers_ArchiveFilesDoNotMatchOrMissing
expr: |
increase(gcs_archive_files_total{bucket="archive-mlab-oti"}[1d]) - ignoring(bucket)
increase(gcs_archive_files_total{bucket="archive-measurement-lab"}[1d]) != 0
sum(increase(gcs_archive_files_total{bucket="archive-mlab-oti"}[1d]) - ignoring(bucket)
increase(gcs_archive_files_total{bucket="archive-measurement-lab"}[1d]) != 0)
OR
absent(gcs_archive_files_total)
for: 1d
Expand Down

0 comments on commit c4afd96

Please sign in to comment.