mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 16:30:55 +01:00
3a444bb7bb
These actions may be useful for filtering out unneeded targets and/or metrics if they contain equal label values. For example, the following rule would leave the target only if __meta_kubernetes_annotation_prometheus_io_port equals __meta_kubernetes_pod_container_port_number: - action: keep_if_equal source_labels: [__meta_kubernetes_annotation_prometheus_io_port, __meta_kubernetes_pod_container_port_number] |
||
---|---|---|
.. | ||
testdata | ||
config_test.go | ||
config.go | ||
relabel_test.go | ||
relabel_timing_test.go | ||
relabel.go | ||
sort_test.go | ||
sort.go |