open-telemetry/opentelemetry-auto-psr18

OpenTelemetry auto-instrumentation for PSR-18 (HTTP Client).

Package info

github.com/opentelemetry-php/contrib-auto-psr18

Homepage

pkg:composer/open-telemetry/opentelemetry-auto-psr18

Statistics

Installs: 2 135 442

Dependents: 5

Suggesters: 1

Stars: 2

1.2.0 2026-03-24 16:33 UTC

Requires

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Apache-2.0 e41ec44f3b63ac3121a15bb592e57dee5222c67f

instrumentationtracingpsr18opentelemetryopen-telemetryotel


README

👁 Releases
👁 Issues
👁 Source
👁 Mirror
👁 Latest Version
👁 Stable

This is a read-only subtree split of https://github.com/open-telemetry/opentelemetry-php-contrib.

OpenTelemetry PSR-18 auto-instrumentation

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, which will:

  • create spans automatically for each PSR-18 request that is sent
  • add a traceparent header to the request to facilitate distributed tracing

Configuration

The extension can be disabled via runtime configuration:

OTEL_PHP_DISABLED_INSTRUMENTATIONS=psr18