wellrested/opentelemetry-auto

Auto instrumentation for Open Telemetry

v1.0.2 2025-02-05 19:26 UTC

This package is auto-updated.

Last update: 2025-02-05 19:28:18 UTC


README

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

Overview

Auto-instrumentation hooks are registered via composer, and spans will automatically be created for:

  • Server::handle(): Created the root span
  • Router::dispatch(): Updates the root span name with the matched route

Configuration

The extension can be disabled via runtime configuration:

OTEL_PHP_DISABLED_INSTRUMENTATIONS=wellrested