open-telemetry / open-telemetry/opentelemetry-java
Figure out how to use AnchoredClock for exemplar measurements.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 58
Description
Exemplars (especially those sampled during an active trace), should be able to grab wall-clock time @ nanosecond resolution from an AnchoredClock to line up w/ traces.
Currently, they (will) call Clock.now(), but against the default system clock which is millisecond resolution and possibly expensive.
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 tracing how exemplars obtain their timestamps and how AnchoredClock and Clock.now() are used. Determine how sampled exemplars, especially those inside active traces, can use the anchored wall clock at nanosecond resolution without relying on the default millisecond-resolution system clock. Done means exemplar timestamps line up with traces while avoiding the stated clock limitation.
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
- Needs clarification
- Newbie friendliness
- 35/100