open-telemetry/gen-otlp-protobuf
PHP protobuf files for communication with OpenTelemetry OTLP collectors/servers.
Maintainers
Package info
github.com/opentelemetry-php/gen-otlp-protobuf
pkg:composer/open-telemetry/gen-otlp-protobuf
Requires
- php: ^8.0
- google/protobuf: ^3.22 || ^4.0
Requires (Dev)
None
Suggests
- ext-protobuf: For better performance, when dealing with the protobuf format
Provides
None
Conflicts
None
Replaces
None
Apache-2.0 a229cf161d42001d64c8f21e8f678581fe1c66b9
This package is auto-updated.
Last update: 2026-06-17 12:06:50 UTC
README
👁 Releases
👁 Source
👁 Mirror
👁 Latest Version
👁 Stable
OpenTelemetry protobuf files
Protobuf Runtime library
OTLP exporting requires a protobuf runtime library.
There exist two protobuf runtime libraries that offer the same set of APIs, allowing developers to choose the one that best suits their needs.
This package requires google/protobuf, which is the native implementation. It is easy to install and a good way to get
started quickly.
Alternatively, and the recommended option for production is to install the Protobuf C extension for PHP. The extension makes OTLP exporting significantly more performant. The extension can be installed with the following command:
pecl install protobuf
The extension can be installed alongside the native library, and it will be used instead if available.
Contributing
This repository is a read-only git subtree split. To contribute, please see the main OpenTelemetry PHP monorepo.
