Get OpenTelemetry traces within a specified time window with flexible pagination options: Pass in only the end time to paginate backwards from there. Pass in a start time to paginate backwards from now until the start time. Pass in both to get resources within the time window. Choose to return in end_time order instead to view traces that completed in a window or since a time. Filter additionally by branch_ids or file_id.
Query parameters
Include only resources from a given file identified by its ID
Branch IDs to filter by
Sort direction for the traces. Defaults to descending order of timestamp.
Start date of the time window (earliest time)
End date of the time window (latest time)
Maximum items to return in each paginated response
When set to end_time, traces are sorted by their end time, and pending traces are omitted. When set to start_time, all traces are included, with pending traces given "0" for their end time.
Response
A paginated result set
Changes
Changed in 6 of the 46 revisions of this API.4311
- ▲
the
queryrequest parameterdirectionwas restricted to a list of enum valuesrequest-parameter-became-enum
- ▲
the
queryrequest parameterorder_bywas restricted to a list of enum valuesrequest-parameter-became-enum
- ○
added the new enum value
ascto thequeryrequest parameterdirectionrequest-parameter-enum-value-added
- ○
added the new enum value
descto thequeryrequest parameterdirectionrequest-parameter-enum-value-added
- ○
added the new enum value
end_timeto thequeryrequest parameterorder_byrequest-parameter-enum-value-added
- ○
added the new enum value
start_timeto thequeryrequest parameterorder_byrequest-parameter-enum-value-added
- ▲
- ▲
added the new required
queryrequest parameterdirectionnew-required-request-parameter
- ▲
- ○
the
queryrequest parameterorder_bybecame optionalrequest-parameter-became-optional
- ○
- ▲
added the new required
queryrequest parameterorder_bynew-required-request-parameter
- ▲
- ●
deleted the
queryrequest parameterend_timestamprequest-parameter-removed
- ●
deleted the
queryrequest parameteroffsetrequest-parameter-removed
- ●
deleted the
queryrequest parameterstart_timestamprequest-parameter-removed
- ○
api tag
telemetryaddedapi-tag-added
- ○
api tag
tracesremovedapi-tag-removed
- ○
added the new optional
queryrequest parameterendnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterstartnew-optional-request-parameter
- ○
removed the non-success response with the status
400response-non-success-status-removed
- ●
- ○
endpoint added
endpoint-added
- ○