mirror of https://github.com/prometheus/prometheus
We should only overwrite the ScrapeConfig if it is empty. Added tests part of https://github.com/prometheus/prometheus/issues/13095 Signed-off-by: Owen Williams <owen.williams@grafana.com>pull/14727/head
parent
1b86d54c7f
commit
436a439ed2
@ -0,0 +1,2 @@
|
||||
scrape_configs:
|
||||
- job_name: prometheus
|
@ -0,0 +1,4 @@
|
||||
global:
|
||||
metric_name_validation_scheme: utf8
|
||||
scrape_configs:
|
||||
- job_name: prometheus
|
@ -0,0 +1,5 @@
|
||||
global:
|
||||
metric_name_validation_scheme: utf8
|
||||
scrape_configs:
|
||||
- job_name: prometheus
|
||||
metric_name_validation_scheme: legacy
|
@ -0,0 +1,3 @@
|
||||
scrape_configs:
|
||||
- job_name: prometheus
|
||||
metric_name_validation_scheme: utf8
|
Loading…
Reference in new issue