services.investigation_service module
Investigation/Triage service – collects data for /triage.
Design: - Sentry-first: search events by request_id or free-text query - Fallback: empty timeline when Sentry not configured - Grafana links: best-effort using GRAFANA_URL env - HTML rendering: minimal, self-contained and safe (escapes content)
Env: - GRAFANA_URL: base URL of Grafana, e.g. https://grafana.example.com - PUBLIC_BASE_URL/WEBAPP_URL: used for building absolute links when relevant (optional)