/opentelemetry-php-contrib

opentelemetry-php-contrib

Primary LanguagePHPApache License 2.0Apache-2.0

OpenTelemetry php contrib library

CI Build codecov

Current Project Status

For more information, please, consult the documentation of the main OpenTelemetry PHP project.

Issues

Issues have been disabled for this repo in order to help maintain consistency between this repo and the main opentelemetry-php repo. If you have an issue you'd like to raise about this issue, please use the OpenTelemetry PHP Issue section. Please prefix the title of the issue with [opentelemetry-php-contrib].

Installation

Install individual packages:

(This is the recommended way to install the components)

Refer to the documentation for the individual components on how to install them

Usage/Examples

Auto-instrumentation

Auto-instrumentation requires the ext-opentelemetry PHP extension, and the installation of one or more packages from src/Instrumentation

AWS

Symfony

SdkBundle

  • The documentation for the Symfony SdkBundle can be found here.
  • An example Symfony application using the SdkBundle can be found here.

Development

Please, consult the documentation of the main OpenTelemetry PHP project.

Subprojects

This repository is organized into multiple separate sub-projects, under /src. Please remember to run all tests as you develop, the makefile supports a PROJECTS variable, which corresponds to the path of the project (relative to src/), eg

$ PROJECT=Symfony PHP_VERSION=8.1 make all