feat : error tracking backend vers GlitchTip (via Tailscale) #37
Reference in New Issue
Block a user
Delete Branch "feat/glitchtip-backend-error-tracking"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Objectif
Remonter les erreurs backend Symfony vers GlitchTip (SDK Sentry), prod uniquement, inerte sans
SENTRY_DSN. Transport réseau via Tailscale sur le host de prod (infra, hors repo). Frontend hors périmètre.Contenu
sentry/sentry-symfony:^5.10(+symfony.lockrecipe)config/bundles.php→SentryBundle ['prod' => true]config/packages/sentry.yaml(nouveau) : DSN runtime, release%app.version%, 4xx ignorés, pas de tracing, handler Monolog ERROR+config/packages/monolog.yaml: handlersentryenwhen@prod.env: blocSENTRY_DSNdocumenté (vide → inerte)doc/error-tracking.md(runbook Tailscale) + sectionCLAUDE.mddocs/superpowers/Vérifications
cache:clearOK, serviceSentry\Monolog\Handlerchargéfrontend//.gitea//deploy/docker/Activation prod (hors code, cf.
doc/error-tracking.md)sirh-apidans GlitchTip → récupérer le DSNSENTRY_DSN=http://<clé>@<IP-tailnet>:<port>/<id>dans l'env_file serveur + redéploiement🤖 Generated with Claude Code