From 90c2d6073e316b04caebe52865d572c7cc583652 Mon Sep 17 00:00:00 2001 From: do Date: Sun, 23 Feb 2020 19:49:08 +0100 Subject: [PATCH] static previous configs --- prometheus/prometheus.sls | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/prometheus/prometheus.sls b/prometheus/prometheus.sls index 7cbd09a..9bfec85 100644 --- a/prometheus/prometheus.sls +++ b/prometheus/prometheus.sls @@ -16,7 +16,30 @@ prometheus: web.listen-address: 0.0.0.0:9090 config: prometheus: + global: + external_labels: + monitor: '.chaos' scrape_configs: + - job_name: 'prometheus' + static_configs: + - targets: + - prometheus.chaos:9090 + - job_name: mysqld + static_configs: + - targets: + - tumor.chaos:9104 + - job_name: mqtt.mosquitto + static_configs: + - targets: + - mqtt.chaos:9234 + - job_name: haproxy + static_configs: + - targets: + - drucki.chaos:9101 + - job_name: klipper + static_configs: + - targets: + - drucki.chaos:3903 - job_name: 'node' static_configs: - targets: