mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
Fix the tag for external rules
This commit is contained in:
parent
0ceb09085c
commit
4256683587
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ rules:
|
|||
|
||||
# external rules are not tied to a Kubernetes resource and can reference any metric
|
||||
# https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects
|
||||
external:
|
||||
externalRules:
|
||||
- seriesQuery: '{__name__="queue_consumer_lag",name!=""}'
|
||||
metricsQuery: sum(<<.Series>>{<<.LabelMatchers>>}) by (name)
|
||||
- seriesQuery: '{__name__="queue_depth",topic!=""}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue