Converts a stored Zipkin span into the SPEC §5 model: ids lower-case (trace id padded to 32),
kind lower-case (absent → internal), serviceName = localEndpoint.serviceName, status
from otel.status_code (STATUS_CODE_ERROR → error with otel.status_description,
STATUS_CODE_OK → ok; an error tag alone → error), attributes = tags without the otel.*,
error and w3c.tracestate bookkeeping keys (values are strings: OAP stores tags as text),
annotations → events. Span names are lower-cased by OAP on ingest.
Converts a stored Zipkin span into the SPEC §5 model: ids lower-case (trace id padded to 32),
kindlower-case (absent →internal),serviceName=localEndpoint.serviceName, status fromotel.status_code(STATUS_CODE_ERROR→ error withotel.status_description,STATUS_CODE_OK→ ok; anerrortag alone → error), attributes = tags without theotel.*,errorandw3c.tracestatebookkeeping keys (values are strings: OAP stores tags as text), annotations → events. Span names are lower-cased by OAP on ingest.