From f14e2a769628b26c78ea1db2fda6d2d17270ba83 Mon Sep 17 00:00:00 2001 From: "Vikram N. Subramanian" Date: Thu, 17 Sep 2020 15:37:43 -0400 Subject: [PATCH] Changed incorrect port number As mqtt2promethius is built from source, it should export 9641:9641 instead of 8002:8002 Fixes issue #17 --- hack/docker-compose.yml | 4 ++-- hack/prometheus.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hack/docker-compose.yml b/hack/docker-compose.yml index 24afb32..e321ebf 100644 --- a/hack/docker-compose.yml +++ b/hack/docker-compose.yml @@ -5,7 +5,7 @@ services: context: ../ dockerfile: Dockerfile ports: - - 8002:8002 + - 9641:9641 volumes: - type: bind source: ./mqtt2prometheus.yaml @@ -22,4 +22,4 @@ services: volumes: - type: bind source: ./prometheus.yml - target: /etc/prometheus/prometheus.yml \ No newline at end of file + target: /etc/prometheus/prometheus.yml diff --git a/hack/prometheus.yml b/hack/prometheus.yml index d0a69f7..926ac9a 100644 --- a/hack/prometheus.yml +++ b/hack/prometheus.yml @@ -27,4 +27,4 @@ scrape_configs: scheme: http static_configs: - targets: - - mqtt2prometheus:8002 \ No newline at end of file + - mqtt2prometheus:9641