open-telemetry / open-telemetry/opentelemetry-php

[opentelemetry-php-contrib] Create Symfony InstrumentationBundle

Open
#568 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted large opentelemetry-php-contrib
Dominant language
PHP
Stars
912
Forks
232
Avg merge
7d 16h
Merged PRs (30d)
4

Description

The SdkBundle by design only acts as a bridge between opentelemetry-php and Symfony.

The Symfony InstrumentationBundle should allow for auto-instrumentation of Symfony applications
by leveraging the event system and decorating common application componerts like MVC controllers.
Intsrumentation should work out of the box, but should be configurable in its behavior.

Doctrine instrumentation should be addressed in a separate dedictated package which could be leveraged by
the InstrumentationBundle.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing SdkBundle and the Symfony event system described in the issue. Define the InstrumentationBundle's auto-instrumentation scope, configuration behavior, and MVC controller coverage, while keeping Doctrine instrumentation in a separate package. Done requires an agreed design and an implementation plan for these boundaries.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, symfony
Domain
backend, observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.