opentelemetry_proto::transform::trace::tonic

Function group_spans_by_resource_and_scope

source
pub fn group_spans_by_resource_and_scope(
    spans: Vec<SpanData>,
    resource: &ResourceAttributesWithSchema,
) -> Vec<ResourceSpans>
Available on crate features trace and gen-tonic-messages only.