VictoriaMetrics/app
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
..
victoria-logs
vlinsert all: replace ElasticSearch -> Elasticsearch for the sake of consistency 2023-07-14 10:52:43 -07:00
vlselect
vlstorage
vmagent all: add support for or filters in series selectors 2023-07-15 23:56:18 -07:00
vmalert vmalert: fix evalTS after modify group interval (#4629) 2023-07-14 10:47:29 -07:00
vmauth
vmbackup
vmbackupmanager
vmctl all: add support for or filters in series selectors 2023-07-15 23:56:18 -07:00
vmgateway
vminsert
vmrestore
vmselect 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
vmstorage
vmui