Server Sentry Logging - WEKIT-ECS/MIRAGE-XR GitHub Wiki

Sentry support has been added to the project, reporting log statements based on error level set to Sentry online.

[!IMPORTANT]
Only the production server (from the master branch) has reporting activated, to avoid running out of quota on Sentry.

[!NOTE]
The log level is hard-coded to 'errors only'.

The Sentry key is configured as environment variable in the .gitignore'd .env file, which is refreshed in the CI pipeline action to be written out into .env as part of the deployment step. To change the secret, change the action secret SENTRY_URL in github.

The Sentry discovery log is here.

Any encountered error that is new within 24 hours is reported to slack as an automated message to the channel #server-sentry.