Skip to content

Commit e9df9c7

Browse files
committed
[feat/#12] 프로메테우스 설정 파일 생성
1 parent e84da8e commit e9df9c7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/main/resources/prometheus.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
global:
2+
scrape_interval: ${PROMETHEUS_SCRAPE_INTERVAL}
3+
4+
scrape_configs:
5+
- job_name: 'prometheus'
6+
static_configs:
7+
- targets: ['localhost:9090']
8+
9+
- job_name: 'moplus_server'
10+
metrics_path: '/actuator/prometheus'
11+
static_configs:
12+
- targets: ['${PROMETHEUS_TARGET_BACKEND}']

0 commit comments

Comments
 (0)