| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- global:
- scrape_interval: 5s
- evaluation_interval: 10s
- # F2: alerting rules for NATS resource limits + publish-path health.
- # See deploy/prometheus/rules/nats.yml and M11_NATS_INVESTIGATION.md.
- rule_files:
- - /etc/prometheus/rules/*.yml
- scrape_configs:
- # ── M0–M9 ingest tier ────────────────────────────────────
- - job_name: ingestd
- static_configs:
- - targets: ['ingestd:8800']
- # ── M0–M2 router tier ────────────────────────────────────
- - job_name: routerd
- static_configs:
- - targets: ['routerd:8801']
- # ── M1–M9 delivery tier ───────────────────────────────────
- # M9: split by channel so channel label in
- # ba_deliverd_delivery_attempts_total is meaningful.
- - job_name: deliverd-fcm
- static_configs:
- - targets: ['deliverd-fcm:8802']
- - job_name: deliverd-telegram
- static_configs:
- - targets: ['deliverd-telegram:8821']
- # ── M8 DLQ + operator API ────────────────────────────────
- - job_name: admind
- static_configs:
- - targets: ['admind:8803']
- # ── M7 data-tier archiver ────────────────────────────────
- - job_name: archiverd
- static_configs:
- - targets: ['archiverd:8804']
- # ── Loadgen (one-shot; useful to see if it's running) ────
- - job_name: loadgen
- static_configs:
- - targets: ['loadgen-http:8891']
- # M10: 3-instance cluster + 1 rogue (loadgen-m10 profile)
- # loadgen-http-4 is the rogue: same company+source as loadgen-http-1
- # but at 10× per-source cap. Added to scrape targets so Prometheus
- # scrapes its /metrics even though it is not started by default.
- - job_name: loadgen-m10
- static_configs:
- - targets: ['loadgen-http-1:8891', 'loadgen-http-2:8891', 'loadgen-http-3:8891', 'loadgen-http-4:8891']
- # M10-bench: 2-instance 50k/s cluster (bench profile)
- - job_name: loadgen-bench
- static_configs:
- - targets: ['loadgen-bench-1:8891', 'loadgen-bench-2:8891']
- # ── Prometheus self-monitoring ────────────────────────────
- - job_name: prometheus
- static_configs:
- - targets: ['localhost:9090']
|