-
Notifications
You must be signed in to change notification settings - Fork 5
/
prometheus.yml
34 lines (32 loc) · 1.1 KB
/
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
30
31
32
33
34
global:
scrape_interval: 15s # By default, scrape targets every 15 seconds.
evaluation_interval: 15s # Evaluate rules every 15 seconds.
rule_files:
# - "alert.rules.yml"
# - "rules.yml"
scrape_configs:
- job_name: 'filter-service'
scrape_interval: 2s
metrics_path: '/filter-service/actuator/prometheus'
static_configs:
- targets: [ 'host.docker.internal:9010' ]
- job_name: 'inventory-service'
scrape_interval: 2s
metrics_path: '/inventory-service/actuator/prometheus'
static_configs:
- targets: [ 'host.docker.internal:9010' ]
- job_name: 'maintenance-service'
scrape_interval: 2s
metrics_path: '/maintenance-service/actuator/prometheus'
static_configs:
- targets: [ 'host.docker.internal:9010' ]
- job_name: 'payment-service'
scrape_interval: 2s
metrics_path: '/payment-service/actuator/prometheus'
static_configs:
- targets: [ 'host.docker.internal:9010' ]
- job_name: 'rental-service'
scrape_interval: 2s
metrics_path: '/rental-service/actuator/prometheus'
static_configs:
- targets: [ 'host.docker.internal:9010' ]