Skip to content

Commit

Permalink
fix: cilium related alerts for mimir (#1159)
Browse files Browse the repository at this point in the history
Signed-off-by: QuentinBisson <[email protected]>
  • Loading branch information
QuentinBisson authored May 6, 2024
1 parent be49a73 commit 07bca56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- Remove cilium entry from KAAS SLOs.
- Fix cilium related alerts for mimir.
- Fix etcd alerts for Mimir.
- Add missing labels for apiserver alerts.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
annotations:
description: '{{`Cilium BPF map is about to fill up.`}}'
opsrecipe: cilium-bpf-map/
expr: avg(cilium_bpf_map_pressure) by (cluster_id, map_name) * 100 > 80
expr: avg(cilium_bpf_map_pressure) by (cluster_id, installation, pipeline, provider, map_name) * 100 > 80
for: 15m
labels:
area: managedservices
Expand All @@ -26,7 +26,7 @@ spec:
annotations:
description: '{{`Cilium BPF map is about filled up.`}}'
opsrecipe: cilium-bpf-map/
expr: avg(cilium_bpf_map_pressure) by (cluster_id, map_name) * 100 > 95
expr: avg(cilium_bpf_map_pressure) by (cluster_id, installation, pipeline, provider, map_name) * 100 > 95
for: 15m
labels:
area: managedservices
Expand All @@ -39,7 +39,7 @@ spec:
opsrecipe: unsupported-cilium-network-policy/
# cilium_policy_change_total - for cilium >=1.15
# cilium_policy_import_errors_total - for cilium <1.15
expr: max(rate(cilium_policy_change_total{outcome=~"fail.*"}[20m]) OR rate(cilium_policy_import_errors_total[20m])) > 0
expr: max(rate(cilium_policy_change_total{outcome=~"fail.*"}[20m]) OR rate(cilium_policy_import_errors_total[20m])) by (cluster_id, installation, pipeline, provider) > 0
for: 10m
labels:
area: managedservices
Expand Down

0 comments on commit 07bca56

Please sign in to comment.