Maps one span of the spans search API (data[i] of POST /api/v2/spans/events/search, or its
attributes) to a SPEC Span. Nested span attributes (attributes, custom) are
flattened to dotted keys; tags (key:value) are added as attributes. name = resource_name,
kind from span.kind, status error when status is error or error is set; duration from
the duration attribute (nanoseconds) when present, else end − start.
Maps one span of the spans search API (
data[i]ofPOST /api/v2/spans/events/search, or itsattributes) to a SPEC Span. Nested span attributes (attributes,custom) are flattened to dotted keys;tags(key:value) are added as attributes.name=resource_name, kind fromspan.kind, statuserrorwhenstatusiserrororerroris set; duration from thedurationattribute (nanoseconds) when present, else end − start.