Files
BACKBEAT/monitoring/prometheus.yml
2025-10-17 08:56:25 +11:00

28 lines
607 B
YAML

global:
scrape_interval: 15s
evaluation_interval: 15s
rule_files:
# - "first_rules.yml"
# - "second_rules.yml"
scrape_configs:
# BACKBEAT Pulse Services
- job_name: 'backbeat-pulse'
static_configs:
- targets: ['pulse-leader:8080', 'pulse-follower:8080']
metrics_path: '/metrics'
scrape_interval: 10s
scrape_timeout: 5s
# NATS Monitoring
- job_name: 'nats'
static_configs:
- targets: ['nats:8222']
metrics_path: '/metrics'
scrape_interval: 15s
# Prometheus itself
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']