wellrested/opentelemetry-auto

Auto instrumentation for Open Telemetry

v1.0.1 2024-08-21 17:57 UTC

This package is auto-updated.

Last update: 2024-10-21 18:19:35 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