relay icon indicating copy to clipboard operation
relay copied to clipboard

fix(otlp): Send span name as an attribute

Open gggritso opened this issue 7 months ago • 0 comments

This is functionally a very similar PR to https://github.com/getsentry/relay/pull/4540/ but for the string properly span.name. In the linked PR, Matt opted to add kind as a top-level field in SpanV1. This causes the span buffer to map that property to sentry.kind. In this PR I'm taking an easier approach, and writing the sentry.name property straight to the tags.

I figured this is simpler but the same result, but let me know if I should introduce name to the schema instead!

gggritso avatar May 29 '25 18:05 gggritso