From fa499b8c349efdcbbe9aec94338beae29549d66a Mon Sep 17 00:00:00 2001 From: faulty Date: Mon, 9 Jan 2023 19:54:23 +0100 Subject: [PATCH] try: docker prom node --- custom/prometheus/prometheus.yml | 2 +- docker-compose.utils.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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