From a872641afee74f68de8d4f599cad8cee8dfdb6f3 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Sat, 29 Jan 2022 18:30:20 -0300 Subject: [PATCH] add dht node exporter from dht node container --- docker-compose.yml | 6 ++++++ prometheus.yml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0ac48f0..cf73e76 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,6 +34,12 @@ services: ports: - 3000:3000 + dht-exporter: + image: lbry/dht-bootstrap:latest + command: --metrics_port 7777 + container_name: dht_node_exporter + restart: unless-stopped + # node-exporter: # image: prom/node-exporter:latest # container_name: monitoring_node_exporter diff --git a/prometheus.yml b/prometheus.yml index 6558029..7dc8313 100644 --- a/prometheus.yml +++ b/prometheus.yml @@ -34,7 +34,7 @@ scrape_configs: scheme: http static_configs: - targets: - - host.docker.internal:2113 + - dht_node_exporter:7777 - job_name: lbcd metrics_path: /