Download the PHP package bedita/instrumentation without Composer
On this page you can find all versions of the php package bedita/instrumentation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bedita/instrumentation
More information about bedita/instrumentation
Files in bedita/instrumentation
Package instrumentation
Short Description OpenTelemetry instrumentation plugin for BEdita
License LGPL-3.0-or-later
Informations about the package instrumentation
BEdita/Instrumentation plugin for BEdita
This library provides auto-instrumentation for BEdita applications, according to OpenTelemetry specifications.
Requirements
This library requires PHP 8.1+ and the OpenTelemetry PHP extension.
Other optional requirements:
ext-grpc
required to use gRPC as transport for the OTLP exporterext-protobuf
significant performance improvement for otlp+protobuf exportingext-zlib
if you want to compress exported dataopen-telemetry/opentelemetry-auto-psr15
auto-instrumentation for CakePHP middlewares (PSR-15)
Installation
Note that installing this library by itself does not generate traces. You need to install and configure the OpenTelemetry SDK and at least an exporter:
Configuration
OpenTelemetry's auto-instrumentation is completely configurable through environment variables. See the SDK configuration documentation and the PHP-specific documentation.
This library provides the following instrumentations, which can be enabled or disabled individually using their respective names:
bedita
main instrumentation (currently does nothing by itself)bedita.client
CakePHP HTTP client (requiresbedita
)cakephp
CakePHP HTTP server, controllers and commands (project)pdo
PHP PDO (project)psr3
loggers compliant with PSR-3 standard (project)psr16
cache engines compliant with PSR-16 standard (project)
Example configuration
This configuration enables auto-instrumentation and the export of traces and logs using the otlp+protobuf protocol to a local backend:
All versions of instrumentation with dependencies
ext-opentelemetry Version *
bedita/api Version ^5.30.0
bedita/core Version ^5.30.0
cakephp/cakephp Version ^4.5.0
open-telemetry/api Version ^1.1
open-telemetry/opentelemetry-auto-cakephp Version ^0.0.3
open-telemetry/opentelemetry-auto-pdo Version ^0.0.15
open-telemetry/opentelemetry-auto-psr3 Version ^0.0.7
open-telemetry/opentelemetry-auto-psr16 Version ^0.0.3
open-telemetry/sem-conv Version ^1.27