-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-prometheus.yml
29 lines (28 loc) · 970 Bytes
/
docker-prometheus.yml
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
global:
scrape_interval: 5s
evaluation_interval: 5s
scrape_configs:
- job_name: 'eureka_server_prometheus'
metrics_path: '/actuator/prometheus'
static_configs:
- targets: ['host.docker.internal:8761']
- job_name: 'gateway_service_prometheus'
metrics_path: '/actuator/prometheus'
static_configs:
- targets: [ 'host.docker.internal:8000' ]
- job_name: 'user_service_prometheus'
metrics_path: '/actuator/prometheus'
static_configs:
- targets: [ 'host.docker.internal:9001' ]
- job_name: 'store_service_prometheus'
metrics_path: '/actuator/prometheus'
static_configs:
- targets: [ 'host.docker.internal:9002' ]
- job_name: 'trade_service_prometheus'
metrics_path: '/actuator/prometheus'
static_configs:
- targets: [ 'host.docker.internal:9003' ]
- job_name: 'batch_server_scrape'
honor_labels: true
static_configs:
- targets: ['host.docker.internal:9091'] # pushgateway