mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-06 09:47:54 +00:00
pkg/naming: shorten regexp when matching many similar names
This commit is contained in:
parent
c2ae4cdaf1
commit
7d895374b0
3 changed files with 82 additions and 48 deletions
|
|
@ -196,8 +196,8 @@ Additionally, there are two advanced fields that are "raw" forms of other
|
|||
fields:
|
||||
|
||||
- `LabelValuesByName`: a map mapping the labels and values from the
|
||||
`LabelMatchers` field. The values are pre-joined by `|`
|
||||
(for used with the `=~` matcher in Prometheus).
|
||||
`LabelMatchers` field. The values are in regular expression format
|
||||
(for use with the `=~` matcher in Prometheus).
|
||||
- `GroupBySlice`: the slice form of `GroupBy`.
|
||||
|
||||
In general, you'll probably want to use the `Series`, `LabelMatchers`, and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue