diff --git a/custom/prometheus/prometheus.yml b/custom/prometheus/prometheus.yml index d85f101..d16e877 100644 --- a/custom/prometheus/prometheus.yml +++ b/custom/prometheus/prometheus.yml @@ -28,4 +28,4 @@ scrape_configs: - job_name: node static_configs: - - targets: ['prom-node:9100'] \ No newline at end of file + - targets: ['docker.host:9100'] \ No newline at end of file diff --git a/docker-compose.utils.yml b/docker-compose.utils.yml index 116b452..1ebcd56 100644 --- a/docker-compose.utils.yml +++ b/docker-compose.utils.yml @@ -96,6 +96,7 @@ services: networks: - proxy - metrics + - default prometheus: build: @@ -104,6 +105,7 @@ services: - 9090:9090 networks: - metrics + - default node-exporter: image: quay.io/prometheus/node-exporter:latest