Backend observability endpoints
GET /metrics/{service}Queries Prometheus for service metrics and uses Redis as a short-TTL cache.
GET /workloads/{service}Reads Kubernetes workload health for a service.
GET /logs/{service}Queries Loki logs with filters for service, pod, container, search, and time window where supported.
GET /alertsReads Alertmanager alert data.
GET /healthzBackend health check endpoint.
Component roles
PrometheusMetrics source of truth.
RedisTemporary cache for repeated Prometheus dashboard queries.
LokiLog storage and query backend.
Grafana AlloyCollects and forwards Kubernetes logs with useful labels.
AlertmanagerAlert source for current alert visibility.
GrafanaNative observability dashboard available in the local stack.
Troubleshooting unavailable telemetry
If a telemetry source is down or unreachable, the dashboard should show unavailable, no-data, or mock states depending on configuration. Do not treat fallback data as proof of live Prometheus, Loki, or Alertmanager connectivity.