Traces

Stream recent trace data

Streams the most recent trace data from a specific stream within a time range using HTTP/2 server-sent events. Results are returned progressively as each time partition is processed, reducing time-to-first-result for large time ranges. With sort_by=duration, ranking across partitions is approximate; each page is sorted by full trace duration.

get/api/{org_id}/{stream_name}/traces/latest_stream

Request

Path parameters

org_idstring required

Organization name

stream_namestring required

Stream name

Query parameters

filterstring

filter, eg: a=b AND c=d

frominteger

from

sizeinteger

page size; 0, negative, invalid or omitted uses ZO_QUERY_DEFAULT_LIMIT

start_timeinteger required

start time

end_timeinteger required

end time

timeoutinteger

timeout, seconds

sort_bystring

sort by field: start_time, duration (default: start_time); see the endpoint description for the limits of the streamed duration sort

sort_orderstring

sort order: asc, desc (default: desc)

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.