open-telemetry / opentelemetry-php-contrib

opentelemetry-php-contrib

Home Page:https://opentelemetry.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

opentelemetry-php-contrib

https://opentelemetry.io

License:Apache License 2.0


Languages

Language:PHP 97.2%Language:C 0.6%Language:HTML 0.6%Language:C++ 0.5%Language:Twig 0.5%Language:M4 0.3%Language:Makefile 0.3%Language:Dockerfile 0.1%Language:CMake 0.0%