VictoriaMetrics/vendor
Aliaksandr Valialkin 5ace0701d3
app/vmselect/promql: add the ability to copy all the labels from one side of group_left()/group_right() operation
This is performed by specifying `*` inside group_left()/group_right().
Also allow specifying prefix for the copied labels via `group_left(...) prefix "..."` and `group_right(...) prefix "..."` syntax.
For example, the following query adds all the namespace-related labels to pod info, and prefixes all the copied label names with "ns_" prefix:

  kube_pod_info * on(namespace) group_left(*) prefix "ns_" kube_namespace_labels

This resolves the following StackOverflow questions:

- https://stackoverflow.com/questions/76661818/how-to-add-namespace-labels-to-pod-labels-in-prometheus
- https://stackoverflow.com/questions/76653997/how-can-i-make-a-new-copy-of-kube-namespace-labels-metric-with-a-different-name
2023-07-17 16:58:30 -07:00
..
cloud.google.com/go vendor: run make vendor-update 2023-07-07 00:05:50 -07:00
github.com app/vmselect/promql: add the ability to copy all the labels from one side of group_left()/group_right() operation 2023-07-17 16:58:30 -07:00
go.opencensus.io vendor: make vendor-update 2022-11-05 10:40:30 +02:00
go.opentelemetry.io vendor: run make vendor-update 2023-07-07 00:05:50 -07:00
go.uber.org vendor: make vendor-update 2023-05-09 23:16:43 -07:00
golang.org/x vendor: run make vendor-update 2023-07-07 00:05:50 -07:00
google.golang.org vendor: run make vendor-update 2023-07-07 00:05:50 -07:00
gopkg.in vmctl: support of the remote read protocol (#3232) 2022-11-29 21:08:47 -08:00
modules.txt app/vmselect/promql: add the ability to copy all the labels from one side of group_left()/group_right() operation 2023-07-17 16:58:30 -07:00