open-telemetry / open-telemetry/opentelemetry-java-instrumentation
Fill `thread.*` attributes in instrumentation instead of processor
Open
Nobody has claimed this yet.
contribution welcome
enhancement
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 1.2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 228
Description
Currently thread attributes can't be used in sampling because they are added in a processor after the span is created. thread.name in particular can be a nice one for filtering out noisy spans.
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
Trace where thread attributes are currently added by the processor and where spans are created in the Java instrumentation. Confirm that thread.name and the other thread.* attributes are available before sampling, and verify that filtering noisy spans by thread.name works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- observability-sre
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100