prometheus.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. global:
  2. scrape_interval: 5s
  3. evaluation_interval: 10s
  4. scrape_configs:
  5. # ── M0–M9 ingest tier ────────────────────────────────────
  6. - job_name: ingestd
  7. static_configs:
  8. - targets: ['ingestd:8800']
  9. # ── M0–M2 router tier ────────────────────────────────────
  10. - job_name: routerd
  11. static_configs:
  12. - targets: ['routerd:8801']
  13. # ── M1–M9 delivery tier ───────────────────────────────────
  14. # M9: split by channel so channel label in
  15. # ba_deliverd_delivery_attempts_total is meaningful.
  16. - job_name: deliverd-fcm
  17. static_configs:
  18. - targets: ['deliverd-fcm:8802']
  19. - job_name: deliverd-telegram
  20. static_configs:
  21. - targets: ['deliverd-telegram:8821']
  22. # ── M8 DLQ + operator API ────────────────────────────────
  23. - job_name: admind
  24. static_configs:
  25. - targets: ['admind:8803']
  26. # ── M7 data-tier archiver ────────────────────────────────
  27. - job_name: archiverd
  28. static_configs:
  29. - targets: ['archiverd:8804']
  30. # ── Loadgen (one-shot; useful to see if it's running) ────
  31. - job_name: loadgen
  32. static_configs:
  33. - targets: ['loadgen-http:8891']
  34. # ── Prometheus self-monitoring ────────────────────────────
  35. - job_name: prometheus
  36. static_configs:
  37. - targets: ['localhost:9090']