veza/config/prometheus.yml

27 lines
588 B
YAML
Raw Normal View History

global:
scrape_interval: 15s
evaluation_interval: 15s
alerting:
alertmanagers:
- static_configs:
- targets: ['alertmanager:9093']
rule_files:
- "prometheus/alert_rules.yml"
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
- job_name: 'veza-backend'
static_configs:
- targets: ['backend-api:8080'] # Use container name in same network
metrics_path: '/metrics'
- job_name: 'veza-stream'
static_configs:
- targets: ['stream-server:8082'] # Use container name
metrics_path: '/metrics'