Install the Raven module for Drupal:
composer require drupal/raven sentry/sdk:^4.0
Enable the module:
drush en raven
Configure your GlitchTip DSN in the Drupal admin UI at admin/config/development/logging under the "Sentry" section.
You can also set environment variables:
SENTRY_DSN — Your GlitchTip DSNSENTRY_ENVIRONMENT — Environment name (e.g., production)SENTRY_RELEASE — Your application versionVerify the integration:
drush raven:captureMessage "Test GlitchTip error"