Skip to content

Commit

Permalink
remove useless prometheus-agent inhibitions as they were replaced
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinBisson committed Oct 30, 2024
1 parent c938092 commit 3895656
Show file tree
Hide file tree
Showing 26 changed files with 4 additions and 300 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Removed

- Get rid of useless `prometheus-agent` after the migration to the new `monitoring-agent` inhibitions.

## [4.81.0] - 2024-10-30

### Changed
Expand Down
12 changes: 0 additions & 12 deletions files/templates/alertmanager/alertmanager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -615,18 +615,6 @@ inhibit_rules:
- cancel_if_cluster_has_no_workers=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_prometheus_agent=true
target_matchers:
- cancel_if_cluster_is_not_running_prometheus_agent=true
equal: [cluster_id]

- source_matchers:
- inhibit_prometheus_agent_down=true
target_matchers:
- cancel_if_prometheus_agent_down=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_monitoring_agent=true
target_matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,18 +437,6 @@ inhibit_rules:
- cancel_if_cluster_has_no_workers=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_prometheus_agent=true
target_matchers:
- cancel_if_cluster_is_not_running_prometheus_agent=true
equal: [cluster_id]

- source_matchers:
- inhibit_prometheus_agent_down=true
target_matchers:
- cancel_if_prometheus_agent_down=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_monitoring_agent=true
target_matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,18 +437,6 @@ inhibit_rules:
- cancel_if_cluster_has_no_workers=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_prometheus_agent=true
target_matchers:
- cancel_if_cluster_is_not_running_prometheus_agent=true
equal: [cluster_id]

- source_matchers:
- inhibit_prometheus_agent_down=true
target_matchers:
- cancel_if_prometheus_agent_down=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_monitoring_agent=true
target_matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,18 +437,6 @@ inhibit_rules:
- cancel_if_cluster_has_no_workers=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_prometheus_agent=true
target_matchers:
- cancel_if_cluster_is_not_running_prometheus_agent=true
equal: [cluster_id]

- source_matchers:
- inhibit_prometheus_agent_down=true
target_matchers:
- cancel_if_prometheus_agent_down=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_monitoring_agent=true
target_matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,18 +437,6 @@ inhibit_rules:
- cancel_if_cluster_has_no_workers=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_prometheus_agent=true
target_matchers:
- cancel_if_cluster_is_not_running_prometheus_agent=true
equal: [cluster_id]

- source_matchers:
- inhibit_prometheus_agent_down=true
target_matchers:
- cancel_if_prometheus_agent_down=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_monitoring_agent=true
target_matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,18 +437,6 @@ inhibit_rules:
- cancel_if_cluster_has_no_workers=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_prometheus_agent=true
target_matchers:
- cancel_if_cluster_is_not_running_prometheus_agent=true
equal: [cluster_id]

- source_matchers:
- inhibit_prometheus_agent_down=true
target_matchers:
- cancel_if_prometheus_agent_down=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_monitoring_agent=true
target_matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,18 +437,6 @@ inhibit_rules:
- cancel_if_cluster_has_no_workers=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_prometheus_agent=true
target_matchers:
- cancel_if_cluster_is_not_running_prometheus_agent=true
equal: [cluster_id]

- source_matchers:
- inhibit_prometheus_agent_down=true
target_matchers:
- cancel_if_prometheus_agent_down=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_monitoring_agent=true
target_matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,18 +437,6 @@ inhibit_rules:
- cancel_if_cluster_has_no_workers=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_prometheus_agent=true
target_matchers:
- cancel_if_cluster_is_not_running_prometheus_agent=true
equal: [cluster_id]

- source_matchers:
- inhibit_prometheus_agent_down=true
target_matchers:
- cancel_if_prometheus_agent_down=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_monitoring_agent=true
target_matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,18 +437,6 @@ inhibit_rules:
- cancel_if_cluster_has_no_workers=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_prometheus_agent=true
target_matchers:
- cancel_if_cluster_is_not_running_prometheus_agent=true
equal: [cluster_id]

- source_matchers:
- inhibit_prometheus_agent_down=true
target_matchers:
- cancel_if_prometheus_agent_down=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_monitoring_agent=true
target_matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,18 +456,6 @@ inhibit_rules:
- cancel_if_cluster_has_no_workers=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_prometheus_agent=true
target_matchers:
- cancel_if_cluster_is_not_running_prometheus_agent=true
equal: [cluster_id]

- source_matchers:
- inhibit_prometheus_agent_down=true
target_matchers:
- cancel_if_prometheus_agent_down=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_monitoring_agent=true
target_matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,18 +456,6 @@ inhibit_rules:
- cancel_if_cluster_has_no_workers=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_prometheus_agent=true
target_matchers:
- cancel_if_cluster_is_not_running_prometheus_agent=true
equal: [cluster_id]

- source_matchers:
- inhibit_prometheus_agent_down=true
target_matchers:
- cancel_if_prometheus_agent_down=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_monitoring_agent=true
target_matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,18 +456,6 @@ inhibit_rules:
- cancel_if_cluster_has_no_workers=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_prometheus_agent=true
target_matchers:
- cancel_if_cluster_is_not_running_prometheus_agent=true
equal: [cluster_id]

- source_matchers:
- inhibit_prometheus_agent_down=true
target_matchers:
- cancel_if_prometheus_agent_down=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_monitoring_agent=true
target_matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,18 +456,6 @@ inhibit_rules:
- cancel_if_cluster_has_no_workers=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_prometheus_agent=true
target_matchers:
- cancel_if_cluster_is_not_running_prometheus_agent=true
equal: [cluster_id]

- source_matchers:
- inhibit_prometheus_agent_down=true
target_matchers:
- cancel_if_prometheus_agent_down=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_monitoring_agent=true
target_matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,18 +456,6 @@ inhibit_rules:
- cancel_if_cluster_has_no_workers=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_prometheus_agent=true
target_matchers:
- cancel_if_cluster_is_not_running_prometheus_agent=true
equal: [cluster_id]

- source_matchers:
- inhibit_prometheus_agent_down=true
target_matchers:
- cancel_if_prometheus_agent_down=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_monitoring_agent=true
target_matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,18 +456,6 @@ inhibit_rules:
- cancel_if_cluster_has_no_workers=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_prometheus_agent=true
target_matchers:
- cancel_if_cluster_is_not_running_prometheus_agent=true
equal: [cluster_id]

- source_matchers:
- inhibit_prometheus_agent_down=true
target_matchers:
- cancel_if_prometheus_agent_down=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_monitoring_agent=true
target_matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,18 +456,6 @@ inhibit_rules:
- cancel_if_cluster_has_no_workers=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_prometheus_agent=true
target_matchers:
- cancel_if_cluster_is_not_running_prometheus_agent=true
equal: [cluster_id]

- source_matchers:
- inhibit_prometheus_agent_down=true
target_matchers:
- cancel_if_prometheus_agent_down=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_monitoring_agent=true
target_matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,18 +456,6 @@ inhibit_rules:
- cancel_if_cluster_has_no_workers=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_prometheus_agent=true
target_matchers:
- cancel_if_cluster_is_not_running_prometheus_agent=true
equal: [cluster_id]

- source_matchers:
- inhibit_prometheus_agent_down=true
target_matchers:
- cancel_if_prometheus_agent_down=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_monitoring_agent=true
target_matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -473,18 +473,6 @@ inhibit_rules:
- cancel_if_cluster_has_no_workers=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_prometheus_agent=true
target_matchers:
- cancel_if_cluster_is_not_running_prometheus_agent=true
equal: [cluster_id]

- source_matchers:
- inhibit_prometheus_agent_down=true
target_matchers:
- cancel_if_prometheus_agent_down=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_monitoring_agent=true
target_matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -473,18 +473,6 @@ inhibit_rules:
- cancel_if_cluster_has_no_workers=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_prometheus_agent=true
target_matchers:
- cancel_if_cluster_is_not_running_prometheus_agent=true
equal: [cluster_id]

- source_matchers:
- inhibit_prometheus_agent_down=true
target_matchers:
- cancel_if_prometheus_agent_down=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_monitoring_agent=true
target_matchers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -473,18 +473,6 @@ inhibit_rules:
- cancel_if_cluster_has_no_workers=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_prometheus_agent=true
target_matchers:
- cancel_if_cluster_is_not_running_prometheus_agent=true
equal: [cluster_id]

- source_matchers:
- inhibit_prometheus_agent_down=true
target_matchers:
- cancel_if_prometheus_agent_down=true
equal: [cluster_id]

- source_matchers:
- cluster_is_not_running_monitoring_agent=true
target_matchers:
Expand Down
Loading

0 comments on commit 3895656

Please sign in to comment.