diff --git a/docker-compose/prometheus/prometheus.yml b/docker-compose/prometheus/prometheus.yml index 7de43ddc8d8e6bc779822cf8978ea049b2861432..8e6e1b7b1729910cc298d64ce45331bb518e2b23 100644 --- a/docker-compose/prometheus/prometheus.yml +++ b/docker-compose/prometheus/prometheus.yml @@ -9,10 +9,21 @@ scrape_configs: - targets: ["tango-prometheus-exporter:8000"] labels: "host": "localhost" - - job_name: host scrape_interval: 60s static_configs: - targets: ["host.docker.internal:9100"] labels: "host": "localhost" + # scrape local services + - job_name: prometheus + static_configs: + - targets: ["localhost:9090"] + labels: + "host": "localhost" + - job_name: grafana + static_configs: + - targets: ["grafana:9090"] + labels: + "host": "localhost" +~