Skip to content

Commit

Permalink
add pipeline and provider labels
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoBrigitte committed Nov 22, 2024
1 parent 0dfb85a commit 7742630
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,9 @@ spec:
opsrecipe: mimir/
expr: |
100 * (
sum by (installation, cluster_id, namespace, pod) (rate(cortex_ruler_queries_failed_total[1m]))
sum by (installation, cluster_id, pipeline, provider, namespace, pod) (rate(cortex_ruler_queries_failed_total[1m]))
/
sum by (installation, cluster_id, namespace, pod) (rate(cortex_ruler_queries_total[1m]))
sum by (installation, cluster_id, pipeline, provider, namespace, pod) (rate(cortex_ruler_queries_total[1m]))
) > 1
for: 1h
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,9 @@ tests:
cluster_id: myinstall
installation: myinstall
namespace: mimir
pipeline: stable
pod: mimir-ruler-aaaaaaaaaa-bbbbb
provider: capa
severity: page
team: atlas
topic: observability
Expand Down

0 comments on commit 7742630

Please sign in to comment.