open-telemetry / open-telemetry/opentelemetry-java
Prototype context scoped attributes
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 58
Description
Context scoped attributes OTEP was merged: https://github.com/open-telemetry/opentelemetry-specification/pull/4931
This gives the ability for for users to add arbitrary attributes to context that will be stamped onto metrics, spans, logs recorded within the scope.
Cool feature which is long overdue. Key use case is to stamp things like tenant id onto all telemetry.
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
Start by reading the linked context scoped attributes OTEP, then inspect the Java SDK entry points for context and telemetry recording across metrics, spans, and logs. No files or tests are named; done means producing a prototype that scopes arbitrary context attributes and stamps them onto telemetry recorded within that scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100