Prevent invalid label names with labelmap (#3868)
This change ensures that the relabeling configurations using labelmap can't generate invalid label names.pull/3874/head
parent
1fd20fc954
commit
fc8cf08f42
@ -0,0 +1,5 @@ |
||||
scrape_configs: |
||||
- job_name: prometheus |
||||
relabel_configs: |
||||
- action: labelmap |
||||
replacement: l-$1 |
||||
Loading…
Reference in new issue