Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.06 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.06 KB

OpenTelemetry Drupal auto-instrumentation

This is an OpenTelemetry auto-instrumentation package for Drupal framework applications.

Please read https://opentelemetry.io/docs/instrumentation/php/automatic/ for instructions on how to install and configure the extension and SDK.

Requirements

Overview

The following features are supported:

  • root span creation (Drupal core hooks)
  • context propagation
  • HttpClient client span creation
  • HttpClient context propagation
  • Message Bus span creation
  • Message Transport span creation

Installation via composer

$ composer require mladenrtl/opentelemetry-auto-drupal

Installing dependencies and executing tests

From Drupal subdirectory:

$ composer install
$ ./vendor/bin/phpunit tests

Configuration

The extension can be disabled via runtime configuration:

OTEL_PHP_DISABLED_INSTRUMENTATIONS=drupal