Files
chat/monitoring/prometheus.yml
2025-09-25 08:05:25 +09:00

42 lines
917 B
YAML

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