Skip to content

Conversation

mjq
Copy link
Member

@mjq mjq commented Mar 20, 2025

Span links were added in #4486, but are currently only accessible as part of transaction events. We would like to get them in EAP. The first step in that process is to add them to serialized Kafka spans.

The integration tests confirm production into Kafka for every current path for links to enter the system:

  • in a transaction event's trace context
  • in a transaction event's child spans
  • in a span envelope item
  • in an otel_span envelope item
  • via OTLP JSON
  • via OTLP gRPC

Note that our version of the opentelemetry-proto Python library is too old to make flags available so not all tests could check the sampled handling. I'll handle that in a future PR.

mjq and others added 2 commits March 20, 2025 15:18
Span links were added in <PR>, but are currently only accessible as part of
transaction events. We would like to get them in EAP. The first step in that
process is to add them to serialized Kafka spans.

The integration tests confirm production into Kafka for every current path for
links to enter the system:
- in a transaction event's trace context
- in a transaction event's child spans
- in a `span` envelope item
- in an `otel_span` envelope item
- via OTLP JSON
- via OTLP gRPC

Co-authored-by: Lukas Stracke <[email protected]>
Co-authored-by: Sigrid Huemer <[email protected]>
@mjq mjq marked this pull request as ready for review April 14, 2025 07:05
@mjq mjq requested a review from a team as a code owner April 14, 2025 07:05
@mjq
Copy link
Member Author

mjq commented Apr 14, 2025

I'm marking this as ready for review now. I don't want to wait for the new span schema before sending links over the wire. (The new span schema's links field definition matches this one so I expect the struct and format to match anyway).

@mjq mjq merged commit 90f0dfa into master Apr 15, 2025
27 checks passed
@mjq mjq deleted the mls-span-link-serialization branch April 15, 2025 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants