trails/infrastructure/grafana/dashboards
Ullrich Schäfer 62e208d850
Add Prometheus metrics + Grafana panels for Overpass proxy
Adds four metrics surfaced via the existing /metrics endpoint:
- overpass_cache_events_total{result=hit|miss|coalesced}
- overpass_cache_size (gauge)
- overpass_upstream_duration_seconds (histogram)
- overpass_upstream_requests_total{status} — covers 2xx/4xx/5xx and
  an explicit "error" label for network-level failures

Grafana dashboards/planner.json gets a new row:
- Upstream health (5m 2xx success ratio, red <90%, green >99%)
- Cache hit ratio
- Cache size
- Upstream p95 latency
Plus timeseries panels for cache event breakdown, upstream status
over time, and p50/p95/p99 upstream latency.

The success-rate formula uses clamp_min(..., 1) on the denominator so
it doesn't NaN when traffic is zero.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 02:12:19 +02:00
..
business.json Remove type:dashboard from annotation config 2026-03-29 21:57:39 +02:00
infrastructure.json Unwrap dashboard JSON for Grafana provisioning 2026-03-29 22:18:06 +02:00
journal.json Add Journal dashboard, fix Caddy metrics, and improve alerts 2026-04-12 14:00:00 +02:00
overview.json Add Journal dashboard, fix Caddy metrics, and improve alerts 2026-04-12 14:00:00 +02:00
planner.json Add Prometheus metrics + Grafana panels for Overpass proxy 2026-04-18 02:12:19 +02:00
service-health.json Add pg-boss background job queue with session expiry 2026-04-13 21:17:24 +02:00