open-telemetry / open-telemetry/opentelemetry-php
Why are stack traces formatted in Java style instead of PHP?
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 912
- Forks
- 232
- Avg merge
- 7d 16h
- Merged PRs (30d)
- 4
Description
I noticed that stack traces are produced in Java style instead of regular PHP styling.
It was last changed in https://github.com/open-telemetry/opentelemetry-php/pull/422
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read src/SDK/Common/Exception/StackTraceFormatter.php around lines 29-37 and inspect pull request #422 to understand why the current stack-trace format was introduced. Compare it with PHP conventions and determine whether the behavior is intentional; done means documenting the rationale or defining a clear follow-up change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- observability-sre
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100