Use uniform JSON target files instead of a JSON/YAML mix. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
c5608946f5
commit
6843f5310a
@ -29,7 +29,7 @@ prometheus:
|
|||||||
params:
|
params:
|
||||||
module: [http_2xx]
|
module: [http_2xx]
|
||||||
file_sd_configs:
|
file_sd_configs:
|
||||||
- files: ['/etc/prometheus/targets/blackbox-2xx*.yml']
|
- files: ['/etc/prometheus/targets/blackbox-2xx*.json']
|
||||||
relabel_configs:
|
relabel_configs:
|
||||||
- source_labels: [__address__]
|
- source_labels: [__address__]
|
||||||
target_label: __param_target
|
target_label: __param_target
|
||||||
@ -43,7 +43,7 @@ prometheus:
|
|||||||
params:
|
params:
|
||||||
module: [http_3xx]
|
module: [http_3xx]
|
||||||
file_sd_configs:
|
file_sd_configs:
|
||||||
- files: ['/etc/prometheus/targets/blackbox-3xx*.yml']
|
- files: ['/etc/prometheus/targets/blackbox-3xx*.json']
|
||||||
relabel_configs:
|
relabel_configs:
|
||||||
- source_labels: [__address__]
|
- source_labels: [__address__]
|
||||||
target_label: __param_target
|
target_label: __param_target
|
||||||
|
Loading…
Reference in New Issue
Block a user