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.
Request
- Base URLhttps://api.val.town
- URLhttps://api.val.town/v1/telemetry/traces
- Authnone declared
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
- breaking
the
queryrequest parameterdirectionwas restricted to a list of enum values - breaking
the
queryrequest parameterorder_bywas restricted to a list of enum values - info
added the new enum value
ascto thequeryrequest parameterdirection - info
added the new enum value
descto thequeryrequest parameterdirection - info
added the new enum value
end_timeto thequeryrequest parameterorder_by - info
added the new enum value
start_timeto thequeryrequest parameterorder_by
- breaking
- breaking
added the new required
queryrequest parameterdirection
- breaking