-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathprometheus.yml
More file actions
41 lines (35 loc) · 957 Bytes
/
prometheus.yml
File metadata and controls
41 lines (35 loc) · 957 Bytes
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
39
40
41
# 김승진 작성
global:
scrape_interval: 15s
evaluation_interval: 15s
alerting:
alertmanagers:
- static_configs:
- targets:
- alertmanager:9093
rule_files:
- "alert_rules.yml"
scrape_configs:
- job_name: "prometheus"
static_configs:
- targets: ['prometheus:9090']
- job_name: 'api-gateway'
scrape_interval: 5s
metrics_path: '/api/actuator/prometheus'
static_configs:
- targets: ['api-gateway:8000']
- job_name: 'member'
scrape_interval: 5s
metrics_path: '/api/member-service/actuator/prometheus'
static_configs:
- targets: ['api-gateway:8000']
- job_name: 'problem'
scrape_interval: 5s
metrics_path: '/api/problem-service/actuator/prometheus'
static_configs:
- targets: ['api-gateway:8000']
- job_name: 'guest'
scrape_interval: 5s
metrics_path: '/api/guest-service/actuator/prometheus'
static_configs:
- targets: ['api-gateway:8000']