Traces

Fetch a single span by trace_id + span_id.

Returns {count: 1, span} when found and {count: 0} otherwise. Both IDs are required path parameters. Use this to drill in on one span from a trace waterfall without pulling the full tree.

get/spans/{trace_id}/{span_id}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/spans/{trace_id}/{span_id}
  • Auth
    API key in header Authorization

Path parameters

trace_idstring required
span_idstring required

Response

Successful Response

countinteger

1 if a span was returned, 0 otherwise.

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status