open-telemetry/opentelemetry-php-contrib

This package is abandoned and no longer maintained. No replacement package was suggested.

The contributor repo for opentelemetry-php

1.0.0beta2 2023-02-14 05:55 UTC

This package is auto-updated.

Last update: 2024-12-18 10:18:52 UTC


README

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