Skip to content

Commit

Permalink
define alert rule for missing GDC metadata archive (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis authored Nov 15, 2024
1 parent b6d8603 commit 643d6c5
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions alerts/gdc.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
groups:
- name: GlobalDiscoveryCatalogue
rules:
# Connection to a Global Broker is lost
- alert: Connection_lost_from_global_broker
expr: group by (centre_id) (wmo_wis2_gdc_connected_flag{centre_id =~ ".*global-broker"} == 0) > 0
for: 10m
labels:
severity: critical
# Download errors from Global Cache in the last hour
severity: critical
annotations:
summary: Connection to a Global Broker is lost
- alert: Download_errors_from_global_cache
expr: group by (centre_id) (delta (wmo_wis2_gdc_downloaded_errors_total{centre_id =~ ".*global-cache"}[1h]) > 0) > 0
for: 1h
labels:
severity: warning
annotations:
summary: Download errors from Global Cache in the last hour
- alert: Metadata_archive_older_than_24_hours
expr: time() - wmo_wis2_gc_last_metadata_timestamp_seconds > 86400
labels:
severity: warning
annotations:
summary: Last metadata archive is older than 24 hours

0 comments on commit 643d6c5

Please sign in to comment.