open-telemetry / open-telemetry/opentelemetry-java

Prototype context scoped attributes

Open
#8,532 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Request
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.