Search by

open-telemetry / opentelemetry-php-contrib

brettmcbobstrecansky

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

The contributor repo for opentelemetry-php

Package info

github.com/open-telemetry/opentelemetry-php-contrib

pkg:composer/open-telemetry/opentelemetry-php-contrib

Statistics

Installs: 50 842

Dependents: 0

Suggesters: 0

Stars: 121

1.0.0beta2 2023-02-14 05:55 UTC

This package is auto-updated.

Last update: 2026-11-04 03:14:15 UTC


README

codecov

Current Project Status

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

Projects

Each project's CI status on main. See .github/ci/README.md.

Project CI
AutoInstrumentationInstaller CI
Aws CI
Context/Revolt CI
Context/Swoole CI
Exporter/Instana CI
Instrumentation/AwsSdk CI
Instrumentation/CakePHP CI
Instrumentation/CodeIgniter CI
Instrumentation/Curl CI
Instrumentation/Doctrine CI
Instrumentation/ExtAmqp CI
Instrumentation/ExtRdKafka CI
Instrumentation/Guzzle CI
Instrumentation/HttpAsyncClient CI
Instrumentation/HttpConfig CI
Instrumentation/IO CI
Instrumentation/Laravel CI
Instrumentation/Magento2 CI
Instrumentation/MongoDB CI
Instrumentation/MySqli CI
Instrumentation/OpenAIPHP CI
Instrumentation/PDO CI
Instrumentation/Phalcon CI
Instrumentation/PostgreSql CI
Instrumentation/Psr14 CI
Instrumentation/Psr15 CI
Instrumentation/Psr16 CI
Instrumentation/Psr18 CI
Instrumentation/Psr3 CI
Instrumentation/Psr6 CI
Instrumentation/ReactPHP CI
Instrumentation/Session CI
Instrumentation/Slim CI
Instrumentation/Symfony CI
Instrumentation/Wordpress CI
Instrumentation/Yii CI
Logs/Monolog CI
MetaPackages/opentelemetry CI
Metrics/Runtime CI
Propagation/CloudTrace CI
Propagation/Instana CI
Propagation/ServerTiming CI
Propagation/TraceResponse CI
ResourceDetectors/Azure CI
ResourceDetectors/Container CI
ResourceDetectors/DigitalOcean CI
Sampler/RuleBased CI
Sampler/Xray CI
Shims/OpenTracing CI
SqlCommenter CI
Symfony CI
Utils/Test CI

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

make projects lists the projects. See .github/ci/README.md for how CI tests them, and how to run the same checks locally.

Contributing

See CONTRIBUTING.md

Emeritus

For more information about the emeritus role, see the community repository.