mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 13:44:05 -08:00
fc8cf08f42
This change ensures that the relabeling configurations using labelmap can't generate invalid label names.
6 lines
113 B
YAML
6 lines
113 B
YAML
scrape_configs:
|
|
- job_name: prometheus
|
|
relabel_configs:
|
|
- action: labelmap
|
|
replacement: l-$1
|