[Infra/#1]: 컨테이너 실행을 위한 Docker 및 자동화 스크립트 추가 #2
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