Skip to content

Commit

Permalink
update ops recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumEnigmaa committed Jun 10, 2024
1 parent f959d26 commit 0f0726b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ spec:
- alert: MimirIngesterNeedsToBeScaledUp
annotations:
description: 'Mimir ingester is consuming too much resources and needs to be scaled up.'
opsrecipe: mimir/
opsrecipe: mimir-ingester/
expr: |-
sum by (cluster_id, installation, namespace, pipeline, provider) (container_memory_working_set_bytes{container="ingester", namespace="mimir"})
/
Expand All @@ -116,7 +116,7 @@ spec:
- alert: MimirIngesterNeedsToBeScaledDown
annotations:
description: 'Mimir ingester is consuming very few resources and needs to be scaled down.'
opsrecipe: mimir/
opsrecipe: mimir-ingester/
expr: |-
sum by (cluster_id, installation, namespace, pipeline, provider) (container_memory_working_set_bytes{container="ingester", namespace="mimir"})
/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ tests:
topic: observability
exp_annotations:
description: Mimir ingester is consuming very few resources and needs to be scaled down.
opsrecipe: "mimir/"
opsrecipe: "mimir-ingester/"
- alertname: MimirIngesterNeedsToBeScaledUp
eval_time: 100m # After 140m minutes, all should be back to normal
- alertname: MimirIngesterNeedsToBeScaledUp
Expand All @@ -223,7 +223,7 @@ tests:
topic: observability
exp_annotations:
description: Mimir ingester is consuming very few resources and needs to be scaled down.
opsrecipe: "mimir/"
opsrecipe: "mimir-ingester/"
- alertname: MimirIngesterNeedsToBeScaledUp
eval_time: 180m # After 140m minutes, all should be back to normal
- alertname: MimirIngesterNeedsToBeScaledUp
Expand All @@ -244,7 +244,7 @@ tests:
topic: observability
exp_annotations:
description: Mimir ingester is consuming very few resources and needs to be scaled down.
opsrecipe: "mimir/"
opsrecipe: "mimir-ingester/"
- alertname: MimirIngesterNeedsToBeScaledUp
eval_time: 280m # After 140m minutes, all should be back to normal
# Test for MimirIngesterNeedsToBeScaledDown alert
Expand Down Expand Up @@ -279,7 +279,7 @@ tests:
topic: observability
exp_annotations:
description: Mimir ingester is consuming very few resources and needs to be scaled down.
opsrecipe: "mimir/"
opsrecipe: "mimir-ingester/"
- alertname: MimirIngesterNeedsToBeScaledDown
eval_time: 100m # After 140m minutes, all should be back to normal
- alertname: MimirIngesterNeedsToBeScaledDown
Expand All @@ -300,7 +300,7 @@ tests:
topic: observability
exp_annotations:
description: Mimir ingester is consuming very few resources and needs to be scaled down.
opsrecipe: "mimir/"
opsrecipe: "mimir-ingester/"
- alertname: MimirIngesterNeedsToBeScaledDown
eval_time: 180m # After 140m minutes, all should be back to normal
- alertname: MimirIngesterNeedsToBeScaledDown
Expand All @@ -321,6 +321,6 @@ tests:
topic: observability
exp_annotations:
description: Mimir ingester is consuming very few resources and needs to be scaled down.
opsrecipe: "mimir/"
opsrecipe: "mimir-ingester/"
- alertname: MimirIngesterNeedsToBeScaledDown
eval_time: 280m # After 140m minutes, all should be back to normal

0 comments on commit 0f0726b

Please sign in to comment.