init commit
This commit is contained in:
42
monitoring/prometheus.yml
Normal file
42
monitoring/prometheus.yml
Normal file
@@ -0,0 +1,42 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
rule_files:
|
||||
# - "first_rules.yml"
|
||||
# - "second_rules.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: 'prometheus'
|
||||
static_configs:
|
||||
- targets: ['localhost:9090']
|
||||
|
||||
- job_name: 'api-gateway'
|
||||
static_configs:
|
||||
- targets: ['localhost:8000']
|
||||
metrics_path: /metrics
|
||||
|
||||
- job_name: 'user-service'
|
||||
static_configs:
|
||||
- targets: ['localhost:8001']
|
||||
metrics_path: /metrics
|
||||
|
||||
- job_name: 'emergency-service'
|
||||
static_configs:
|
||||
- targets: ['localhost:8002']
|
||||
metrics_path: /metrics
|
||||
|
||||
- job_name: 'location-service'
|
||||
static_configs:
|
||||
- targets: ['localhost:8003']
|
||||
metrics_path: /metrics
|
||||
|
||||
- job_name: 'calendar-service'
|
||||
static_configs:
|
||||
- targets: ['localhost:8004']
|
||||
metrics_path: /metrics
|
||||
|
||||
- job_name: 'notification-service'
|
||||
static_configs:
|
||||
- targets: ['localhost:8005']
|
||||
metrics_path: /metrics
|
||||
Reference in New Issue
Block a user