Drupal is a registered trademark of Dries Buytaert

otsdk

3 sites Security covered
View on drupal.org

Integrates the OpenTelemetry SDK.

For a full description of the module, visit the project page.

Submit bug reports and feature suggestions, or track changes in the issue queue.

Requirements

This module requires the OpenTelemetry SDK library:

One of the exporter libraries is required in order to ship instrumentation results to an OpenTelemetry endpoint.

Installation

Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.

Add one or more of the recommended libraries using composer.

Configuration

  1. Enable the module at Administration > Extend.
  2. Supply OpenTelemetry SDK configuration via settings.php.

Example:

$settings['otsdk'] = [
  Variables::OTEL_PHP_AUTOLOAD_ENABLED => TRUE,
  Variables::OTEL_METRICS_EXPORTER => 'console',
  Variables::OTEL_TRACES_EXPORTER => 'console',
  Variables::OTEL_LOGS_EXPORTER => 'console',
];

See the OpenTelemetry docs for a full list of supported settings.

Maintainers

Activity

Total releases
1
First release
Aug 2025
Latest release
6 months ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
1.0.1 Stable Aug 12, 2025