Download the PHP package open-telemetry/opentelemetry-auto-http-async without Composer
On this page you can find all versions of the php package open-telemetry/opentelemetry-auto-http-async. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download open-telemetry/opentelemetry-auto-http-async
More information about open-telemetry/opentelemetry-auto-http-async
Files in open-telemetry/opentelemetry-auto-http-async
Package opentelemetry-auto-http-async
Short Description OpenTelemetry auto-instrumentation for HTTPlug async clients.
License Apache-2.0
Homepage https://opentelemetry.io/docs/languages/php/
Informations about the package opentelemetry-auto-http-async
This is a read-only subtree split of https://github.com/open-telemetry/opentelemetry-php-contrib.
OpenTelemetry HTTPlug async 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 async HTTP request that is sent
- add a
traceparentheader to the request to facilitate distributed tracing
Configuration
Disabling the instrumentation
The extension can be disabled via runtime configuration:
Request and response header capturing
Header capturing is disabled by default and can be enabled through environment variables or php.ini directives.
Environment variables
The legacy options are still supported but may be deprecated in a future release:
php.ini
Captured headers are added as span attributes using the http.request.header.<name> and http.response.header.<name> naming convention, with header names lowercased and hyphens replaced by underscores. The option values are case-insensitive.
All versions of opentelemetry-auto-http-async with dependencies
ext-opentelemetry Version *
open-telemetry/api Version ^1.0
open-telemetry/sem-conv Version ^1.32
php-http/httplug Version ^2