open-telemetry / open-telemetry/weaver
Define span links in yaml definition
Open
@vesari is already working on this.
Since Jun 3, 2026.
model
- Dominant language
- Rust
- Stars
- 486
- Forks
- 108
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 40
Description
Is your feature request related to a problem? Please describe.
I want my definitions of spans to also indicate what links may/should/must have
Describe the solution you'd like
Introduction of a new array property on the span definition called links which is an array of objects.
Each object would contain the following:
- Ref: what type of span it should be linked to & is required
- brief/note
- Attributes: defaults to empty list and can only be defined if link type is other
- link type: parent, child or other which is default
Describe alternatives you've considered
Defining links as first class signal and re-using but limited benefit especially with attribute groups available
Additional context
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.
Assessment
This issue has not been assessed yet.