Elastic Distribution of OpenTelemetry PHP
Elastic Stack Serverless Observability
The Elastic Distribution of OpenTelemetry (EDOT) PHP is a customized version of OpenTelemetry for PHP, configured for the best experience with Elastic Observability.
Use EDOT PHP to start the OpenTelemetry SDK with your PHP application, and automatically capture tracing data, performance metrics, and logs. Traces, metrics, and logs can be sent to any OpenTelemetry Protocol (OTLP) Collector you choose.
A goal of this distribution is to avoid introducing proprietary concepts in addition to those defined by the wider OpenTelemetry community. For any additional features introduced, Elastic aims at contributing them back to the upstream OpenTelemetry project.
In addition to all the features of OpenTelemetry PHP, with EDOT PHP you have access to the following:
- SDK improvements and bug fixes contributed by the Elastic team before the changes are available upstream in OpenTelemetry repositories.
- Optional features that can enhance OpenTelemetry data that is being sent to Elastic.
- Elastic-specific processors that ensure optimal compatibility when exporting OpenTelemetry signal data to an Elastic backend like an Elastic Observability deployment.
- Preconfigured collection of tracing and metrics signals, applying some opinionated defaults, such as which sources are collected by default. For example, the OpenTelemetry protocol (OTLP) exporter is enabled by default.
- Built-in support for asynchronous data transmission, reducing request latency
- Out-of-the-box auto-instrumentation — no need to modify your code. EDOT PHP takes care of enabling telemetry collection automatically.
- Additional runtime features such as automatic root span creation, URL grouping, and inferred spans to provide richer and more structured trace data with minimal setup.
Follow the step-by-step instructions in Setup to get started.