The Bliptrace module for Drupal subscribes to KernelEvents::EXCEPTION at a low priority, so it only observes: Drupal’s own error handling carries on exactly as before. Drupal 10 and 11, PHP 8.2+.
Install from GitHub. This package is not on Packagist yet. Source: github.com/bliptrace/bliptrace-drupal.
Install
composer config repositories.bliptrace-drupal vcs https://github.com/bliptrace/bliptrace-drupal
composer require bliptrace/drupal:dev-main
drush en g8scope
Or enable g8scope under Admin → Extend.
Configure
// settings.php
$settings['g8scope'] = [
'enabled' => TRUE,
'key' => \G8Scope\Php\Env::get('KEY'), // BLIPTRACE_KEY
'endpoint' => 'https://ingest.bliptrace.com',
'environment' => \G8Scope\Php\Env::get('ENVIRONMENT', 'production'),
'release' => \G8Scope\Php\Env::get('RELEASE'),
'timeout' => 3,
'ignore_exceptions' => [],
'scrub_keys' => ['password', 'token', 'secret'],
];
Read the key from the environment so it never lands in version control. With enabled set to FALSE or no key, nothing is sent.
Each report includes the request method, URL and headers, with Authorization and Cookie removed.