Skip to content

Commit

Permalink
fix: Remove vector from alert
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalezzfelipe committed Feb 3, 2025
1 parent c44ee72 commit bcac242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap/monitoring/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ resource "grafana_rule_group" "instance_is_down" {

model = jsonencode({
editorMode = "code",
expr = "count(avg_over_time(ogmios_connected[10m] offset 1h)) by (pod) unless count(avg_over_time(ogmios_connected[10m])) by (pod)",
expr = "count(avg_over_time(ogmios_connected{pod!~\"ogmios-vector-testnet-.*\"}[10m] offset 1h)) by (pod) unless count(avg_over_time(ogmios_connected{pod!~\"ogmios-vector-testnet-.*\"}[10m])) by (pod)",
hide = false,
intervalMs = 1000,
legendFormat = "__auto",
Expand Down

0 comments on commit bcac242

Please sign in to comment.