mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
Fix external rule tag in documentation
Replaced external: by externalRules: in documentation for external rules
This commit is contained in:
parent
7cd63baccf
commit
0ceb09085c
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ It's possible to configure [Autoscaling on metrics not related to Kubernetes obj
|
|||
The configuration for `external` metrics rules is almost identical to the normal `rules`:
|
||||
|
||||
```yaml
|
||||
external:
|
||||
externalRules:
|
||||
- seriesQuery: '{__name__="queue_consumer_lag",name!=""}'
|
||||
metricsQuery: sum(<<.Series>>{<<.LabelMatchers>>}) by (name)
|
||||
resources:
|
||||
|
|
@ -38,7 +38,7 @@ This is done by setting `namespaced: false` in the `resources` section of the `e
|
|||
```yaml
|
||||
# rules: ...
|
||||
|
||||
external:
|
||||
externalRules:
|
||||
- seriesQuery: '{__name__="queue_depth",name!=""}'
|
||||
metricsQuery: sum(<<.Series>>{<<.LabelMatchers>>}) by (name)
|
||||
resources:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue