feat(monitoring): structured logging, Promtail alignment, GlitchTip config, status page

- Upgrade shared-logger to dual-mode: JSON lines in production, console
  in dev. Adds configureLogger() for service name + request ID.
- Add requestLogger middleware to shared-hono with request ID generation
  and structured request/response logging.
- Align Promtail config with new JSON field names (requestId, ts, service).
- Add PUBLIC_GLITCHTIP_DSN + PUBLIC_UMAMI_WEBSITE_ID to mana-web docker config.
- Add /status page that polls all backend /health endpoints server-side.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-04-02 17:23:52 +02:00
parent 7ba82472b2
commit 7908995a29
5 changed files with 589 additions and 345 deletions

View file

@ -886,6 +886,9 @@ services:
PUBLIC_MANA_MEDIA_URL_CLIENT: https://media.mana.how
PUBLIC_MANA_LLM_URL: http://mana-llm:3025
PUBLIC_MANA_LLM_URL_CLIENT: https://llm.mana.how
# Analytics & Error Tracking
PUBLIC_UMAMI_WEBSITE_ID: face76f4-2d3e-42be-b8c8-0ea03f33a462
PUBLIC_GLITCHTIP_DSN: ${GLITCHTIP_DSN_MANACORE_WEB:-}
ports:
- "5000:5000"
healthcheck: