pub fn span_v1_to_span_v2(span_v1: Span) -> SpanV2Expand description
Converts a legacy span to the new Span V2 schema.
tags,sentry_tags,measurementsanddataare transferred toattributes.- Nested
dataitems are encoded as JSON.
pub fn span_v1_to_span_v2(span_v1: Span) -> SpanV2Converts a legacy span to the new Span V2 schema.
tags, sentry_tags, measurements and data are transferred to attributes.data items are encoded as JSON.