mirror of https://github.com/prometheus/prometheus
This fix adds check if target_label value is set in case if action is replace or hashmod Issue [#1900]pull/1929/head
parent
c7bd563b26
commit
e29d9394e5
@ -0,0 +1,6 @@
|
|||||||
|
scrape_configs:
|
||||||
|
- job_name: prometheus
|
||||||
|
relabel_configs:
|
||||||
|
- source_labels: [__address__]
|
||||||
|
modulus: 8
|
||||||
|
action: hashmod
|
@ -0,0 +1,4 @@
|
|||||||
|
scrape_configs:
|
||||||
|
- job_name: prometheus
|
||||||
|
relabel_configs:
|
||||||
|
- regex: abcdef
|
Loading…
Reference in new issue