summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-02-15 21:13:23 +0100
committerGeorg Pfuetzenreuter2023-02-21 19:06:03 +0100
commitcade9c0aca9db3b938ff7343a29756083b252147 (patch)
tree1483e68af31847898df706febf22d4a5291c329f
parent8016f86164450f4eda4f1488f48cf44de0d4655f (diff)
downloadsalt-cade9c0aca9db3b938ff7343a29756083b252147.tar.gz
salt-cade9c0aca9db3b938ff7343a29756083b252147.tar.bz2
salt-cade9c0aca9db3b938ff7343a29756083b252147.zip
Moni: Read Blackbox targets as JSON
Use uniform JSON target files instead of a JSON/YAML mix. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
-rw-r--r--pillar/id/moni_lysergic_dev.sls4
1 files changed, 2 insertions, 2 deletions
diff --git a/pillar/id/moni_lysergic_dev.sls b/pillar/id/moni_lysergic_dev.sls
index 2607654..2ebf296 100644
--- a/pillar/id/moni_lysergic_dev.sls
+++ b/pillar/id/moni_lysergic_dev.sls
@@ -29,7 +29,7 @@ prometheus:
params:
module: [http_2xx]
file_sd_configs:
- - files: ['/etc/prometheus/targets/blackbox-2xx*.yml']
+ - files: ['/etc/prometheus/targets/blackbox-2xx*.json']
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
@@ -43,7 +43,7 @@ prometheus:
params:
module: [http_3xx]
file_sd_configs:
- - files: ['/etc/prometheus/targets/blackbox-3xx*.yml']
+ - files: ['/etc/prometheus/targets/blackbox-3xx*.json']
relabel_configs:
- source_labels: [__address__]
target_label: __param_target