Issue scope: build a production-ready baseline for monitoring, alerting, logs, tracing, uptime, and runbooks.
- Prometheus scrape and alert rules
- Grafana dashboard provisioning
- Alertmanager routing by severity/team
- Log aggregation with Loki/Promtail
- Tracing backend with Tempo
- Uptime probing with Blackbox Exporter
- Host resource metrics with Node Exporter
- Runbook links embedded in alert annotations
- Start stack:
cd monitoring && docker compose up -d
- Start backend application.
- Confirm Prometheus targets are healthy.
- Open Grafana and verify
Bridge Watch Observability Overviewdashboard. - Validate uptime probes (
probe_success). - Trigger a synthetic alert and verify Alertmanager route.
- Replace Slack webhook placeholders in
monitoring/alertmanager.yml. - Replace PagerDuty integration key placeholder.
- For production, store integration values in secret manager and template at deploy time.
- Alert rules include
runbook_urlannotations for incident response. - Current scrape target uses
host.docker.internal:3001for local development. - For containerized backend deployment, switch target to service DNS name.