open-telemetry / open-telemetry/weaver

Define span links in yaml definition

Open
#970 2 comments 0 reactions 1 assignee View on GitHub

@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

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.