Skip to content

Commit

Permalink
simple comparison over percentage calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoBrigitte committed Sep 2, 2024
1 parent 2b1089a commit 5276895
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ spec:
opsrecipe: mimir-ingester/
expr: |-
(
kube_horizontalpodautoscaler_status_desired_replicas{namespace="mimir"} /
kube_horizontalpodautoscaler_status_desired_replicas{namespace="mimir"} >=
on(cluster_id, customer, installation, namespace, horizontalpodautoscaler)
kube_horizontalpodautoscaler_spec_max_replicas{namespace="mimir"} >= 1.0
kube_horizontalpodautoscaler_spec_max_replicas{namespace="mimir"}
)
and on(cluster_id, customer, installation, namespace, horizontalpodautoscaler)
(
Expand Down

0 comments on commit 5276895

Please sign in to comment.