open-telemetry / open-telemetry/opentelemetry-cpp
[Trace API] Tracer::StartSpan() missing api for a single link.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 632
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 75
Description
In the spec for Span creation, for specifying links:
The Span creation API MUST provide:
An API to record a single Link where the Link properties are passed as arguments. (...).
Every StartSpan method on Tracer, when taking links as input, expects many links (iterators on collections, initializer lists, etc) at once.
There are no apis that can be used to add a single link, with optional attributes, when creating a span.
tags: trace api, spec compliance.
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 Span creation specification, then inspect the Tracer::StartSpan overloads that currently accept collections or iterators of links. Done means providing a single-link creation API with optional attributes while preserving the existing multi-link forms and demonstrating spec compliance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- api, distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100