open-telemetry / open-telemetry/opentelemetry-php

Span Drops in FASTCGI and PHP FPM Setup

Open
#1,642 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question stale
Dominant language
PHP
Stars
912
Forks
232
Avg merge
7d 16h
Merged PRs (30d)
4

Description

Image

Frame work - larvel-lumen

I am using auto instrumentation of OpenTel, On local set up it is working fine , but on near prod setup where the application run via PHP FPM the root span is droping .

My suspect it FPM worker is getting killed before the queue is evacuated .

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 comparing the local setup with the near-production PHP FPM setup described in the issue, focusing on auto instrumentation and worker shutdown behavior. Reproduce the missing root span and determine whether the FPM worker exits before the tracing queue is evacuated. Done means the root span is retained in the PHP FPM setup or the failure condition is clearly identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php
Domain
observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.