This is an automated email from the ASF dual-hosted git repository.

bossenti pushed a commit to branch fix-prometheus-config
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit d024b43e83b4e0648a1da6a1d7ea6a881e2236ca
Author: bossenti <[email protected]>
AuthorDate: Fri Dec 1 11:37:41 2023 +0100

    chore: use service name instead of localhost in prometheus config
---
 installer/cli/deploy/standalone/prometheus/prometheus.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/installer/cli/deploy/standalone/prometheus/prometheus.yml 
b/installer/cli/deploy/standalone/prometheus/prometheus.yml
index daf866fcc..50e2d35b6 100644
--- a/installer/cli/deploy/standalone/prometheus/prometheus.yml
+++ b/installer/cli/deploy/standalone/prometheus/prometheus.yml
@@ -37,11 +37,11 @@ scrape_configs:
   - job_name: "backend"
     metrics_path: "/streampipes-backend/actuator/prometheus"
     static_configs:
-      - targets: [ "localhost:8030" ]
+      - targets: [ "backend:8030" ]
     #bearer_token: ""
     #bearer_token_file: ""
 
   - job_name: "extensions-all-iiot"
     metrics_path: "/actuator/prometheus"
     static_configs:
-      - targets: [ "localhost:8090" ]
+      - targets: [ "extensions-all-jvm:8090" ]

Reply via email to