forked from numberOnethemepark/themepark
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprometheus.yml
More file actions
38 lines (31 loc) · 1.33 KB
/
prometheus.yml
File metadata and controls
38 lines (31 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
global:
scrape_interval: 15s # 메트릭 수집 주기
scrape_configs:
- job_name: 'eureka'
metrics_path: '/actuator/prometheus'
static_configs:
- targets: [ 'host.docker.internal:8761' ] # Eureka Server 메트릭 엔드포인트
- job_name: 'gateway-service'
metrics_path: '/actuator/prometheus'
static_configs:
- targets: ['host.docker.internal:8080'] # Gateway Service 메트릭 엔드포인트
- job_name: 'user-service'
metrics_path: '/actuator/prometheus'
static_configs:
- targets: ['host.docker.internal:8001'] # User Service 메트릭 엔드포인트
- job_name: 'order-service'
metrics_path: '/actuator/prometheus'
static_configs:
- targets: ['host.docker.internal:8002'] # Order Service 메트릭 엔드포인트
- job_name: 'product-service'
metrics_path: '/actuator/prometheus'
static_configs:
- targets: ['host.docker.internal:8004'] # Product Service 메트릭 엔드포인트
- job_name: 'themepark-service'
metrics_path: '/actuator/prometheus'
static_configs:
- targets: ['host.docker.internal:8005'] # ThemePark Service 메트릭 엔드포인트
- job_name: 'slack-service'
metrics_path: '/actuator/prometheus'
static_configs:
- targets: ['host.docker.internal:8006'] # Slack Service 메트릭 엔드포인트