@grow-codes/datadog-apm - v0.1.1
    Preparing search index...

    Function datadogSearchSpanToSpan

    • 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.

      Parameters

      Returns Span