Skip to content

Commit

Permalink
datadog.rules: add a last repair and backup metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
amnonh committed Sep 19, 2023
1 parent 0a05959 commit 707d47b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/source/procedures/datadog/datadog.rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -552,3 +552,15 @@ groups:
by: "cluster"
level: "1"
dd: "1"
- record: scylla_manager_last_backup
expr: max(scylla_manager_scheduler_last_success{type="backup"}) or on() min(node_boot_time_seconds)
labels:
by: "cluster"
level: "1"
dd: "1"
- record: scylla_manager_last_repair
expr: max(scylla_manager_scheduler_last_success{type="repair"}) or on() min(node_boot_time_seconds)
labels:
by: "cluster"
level: "1"
dd: "1"

0 comments on commit 707d47b

Please sign in to comment.