Skip to content

open-telemetry/opentelemetry-php-contrib

Folders and files

NameName
Last commit message
Last commit date
Mar 12, 2025
May 27, 2022
Feb 25, 2025
Dec 18, 2024
Apr 26, 2023
Mar 24, 2025
Oct 20, 2022
Oct 26, 2021
Jan 29, 2024
Mar 12, 2025
Apr 8, 2024
Sep 7, 2022
Jun 17, 2021
Jun 17, 2021
Feb 25, 2025
Apr 11, 2024
Jan 21, 2024
Jun 17, 2021
Feb 25, 2025
Jun 20, 2022
Jan 14, 2025
Mar 11, 2022
Mar 9, 2022

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.

Swoole

  • The documentation for the Swoole context can be found here.

Yii

  • The documentation for Yii framework 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