Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix recording rules #1055

Merged
merged 20 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
cca874f
Add mimir enabled flag
QuentinBisson Mar 5, 2024
9c2e1a9
Update helm/prometheus-rules/templates/alerting-rules/aws.management-…
QuentinBisson Mar 5, 2024
07ed93e
Update helm/prometheus-rules/templates/alerting-rules/aws.workload-cl…
QuentinBisson Mar 5, 2024
f4f8837
Update helm/prometheus-rules/templates/alerting-rules/bastions.rules.yml
QuentinBisson Mar 5, 2024
95cfc31
Update helm/prometheus-rules/templates/alerting-rules/cluster-service…
QuentinBisson Mar 5, 2024
1810f65
Update helm/prometheus-rules/templates/alerting-rules/crsync.rules.yml
QuentinBisson Mar 5, 2024
61b8ac6
Update helm/prometheus-rules/templates/alerting-rules/kvm.management-…
QuentinBisson Mar 5, 2024
739ceb6
Update helm/prometheus-rules/templates/alerting-rules/elasticsearch.r…
QuentinBisson Mar 5, 2024
4ab5039
Update helm/prometheus-rules/templates/alerting-rules/kiam.rules.yml
QuentinBisson Mar 5, 2024
73939e4
Update helm/prometheus-rules/templates/alerting-rules/kvm.workload-cl…
QuentinBisson Mar 5, 2024
e7bebdb
Update helm/prometheus-rules/templates/alerting-rules/managed-logging…
QuentinBisson Mar 5, 2024
cfd6cbb
Update helm/prometheus-rules/templates/alerting-rules/release.rules.yml
QuentinBisson Mar 5, 2024
557eb75
Update helm/prometheus-rules/templates/alerting-rules/vault.rules.yml
QuentinBisson Mar 5, 2024
0dca699
Update helm/prometheus-rules/templates/alerting-rules/credentiald.rul…
QuentinBisson Mar 5, 2024
1e9837c
Add cluster_type everywhere
QuentinBisson Mar 5, 2024
4546a1a
fix recording rules by aggregating by cluster_type and cluster_id
QuentinBisson Mar 5, 2024
c10772c
Merge branch 'master' into fix-recording-rules
QuentinBisson Mar 5, 2024
3c878cb
grafana cloud recording rules
QuentinBisson Mar 6, 2024
f0bf340
Merge branch 'master' into fix-recording-rules
QuentinBisson Mar 6, 2024
18db56d
grafana cloud recording rules
QuentinBisson Mar 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ spec:
annotations:
description: '{{`Critical pod {{ $labels.container }} does not have metrics.`}}'
opsrecipe: critical-pod-is-not-running/
expr: absent(kube_pod_container_status_running{container="k8s-api-server", cluster_type="management_cluster"}) == 1 or absent(kube_pod_container_status_running{container="k8s-controller-manager", cluster_type="management_cluster"}) == 1 or absent(kube_pod_container_status_running{container="k8s-scheduler", cluster_type="management_cluster"}) == 1
expr: |
absent(kube_pod_container_status_running{container="k8s-api-server", cluster_type="management_cluster"}) == 1
or absent(kube_pod_container_status_running{container="k8s-controller-manager", cluster_type="management_cluster"}) == 1
or absent(kube_pod_container_status_running{container="k8s-scheduler", cluster_type="management_cluster"}) == 1
for: 25m
labels:
area: kaas
Expand Down
Loading