Traces

Get all spans for a specific trace.

Changed on

Each span has a duration_ms field (float, milliseconds) — the ONLY field guaranteed to be in milliseconds — plus an attributes map of raw key/value pairs exactly as the instrumenting library reported them. Numeric attribute values (e.g. connection-pool wait times, queue delays) may be in seconds, milliseconds, microseconds, or nanoseconds depending on that library's own convention; this response never labels the unit. When explaining what a span spent time on, only quote milliseconds from duration_ms (or from start_time/end_time deltas) — never assume a raw attribute number is already in milliseconds.

get/otel/traces/{project_id}/{trace_id}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

project_idinteger required

Project ID

trace_idstring required

Trace ID (hex)

Query parameters

start_timestring

Window start (RFC 3339); pair with end_time, max 31 days

end_timestring

Window end (RFC 3339); pair with start_time, max 31 days

Response

Trace spans tree

countinteger required

Changes

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status