feat: 카프카 브로커 및 클라이언트 애플리케이션 메트릭 수집을 위한 프로메테우스 설정
This commit is contained in:
parent
8f0d7ca96a
commit
0e06037152
22
docker/prometheus/prometheus.yml
Normal file
22
docker/prometheus/prometheus.yml
Normal file
@ -0,0 +1,22 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
scrape_timeout: 10s
|
||||
|
||||
scrape_configs:
|
||||
- job_name: 'kafka-server'
|
||||
static_configs:
|
||||
- targets:
|
||||
- 'broker-1:7071'
|
||||
- 'broker-2:7071'
|
||||
- 'broker-3:7071'
|
||||
|
||||
- job_name: 'kafka-application-jmx'
|
||||
static_configs:
|
||||
- targets:
|
||||
- 'application:9400'
|
||||
|
||||
- job_name: 'kafka-application-actuator'
|
||||
metrics_path: '/actuator/prometheus'
|
||||
static_configs:
|
||||
- targets:
|
||||
- 'application:8080'
|
||||
Loading…
x
Reference in New Issue
Block a user