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

bossenti pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new 642dea8c3 chore: use service name instead of localhost in prometheus 
config (#2259)
642dea8c3 is described below

commit 642dea8c3e9ab861e1645cd893e5a922e4f9e50a
Author: Tim <[email protected]>
AuthorDate: Fri Dec 1 12:57:21 2023 +0100

    chore: use service name instead of localhost in prometheus config (#2259)
---
 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