Skip to content

Commit

Permalink
[ci] metric을 내부 포트를 통해 접근하도록 수정
Browse files Browse the repository at this point in the history
metric을 내부 포트를 통해 접근하도록 수정
  • Loading branch information
YeaChan05 committed Jun 7, 2024
1 parent 20d7dae commit 87546f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ scrape_configs:

- job_name: 'spring-boot-apps'
static_configs:
- targets: ['host.docker.internal:8081', 'host.docker.internal:8082', 'host.docker.internal:8083']
- targets: ['app1:8080', 'app2:8080', 'app3:8080']
metrics_path: '/actuator/prometheus'

- job_name: 'mysql'
static_configs:
- targets: ['host.docker.internal:9104']
- targets: ['mysqld-exporter:9104']

0 comments on commit 87546f2

Please sign in to comment.