Skip to content

Commit

Permalink
chore: use service name instead of localhost in prometheus config (#2259
Browse files Browse the repository at this point in the history
)
  • Loading branch information
bossenti authored Dec 1, 2023
1 parent cb07ea3 commit 642dea8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installer/cli/deploy/standalone/prometheus/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]

0 comments on commit 642dea8

Please sign in to comment.