Skip to content

open-telemetry/opentelemetry-php-contrib

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date
May 15, 2024
May 27, 2022
Apr 18, 2024
Apr 1, 2024
Apr 26, 2023
Jun 8, 2024
Oct 20, 2022
Oct 26, 2021
Jan 29, 2024
May 15, 2024
Apr 8, 2024
Sep 7, 2022
Jun 17, 2021
Jun 17, 2021
Apr 18, 2024
Apr 11, 2024
Jan 21, 2024
Jun 17, 2021
May 3, 2024
Jun 20, 2022
Apr 18, 2024
Mar 11, 2022
Mar 9, 2022

Repository files navigation

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