/v1/search, /v1/traces/find, /v1/sessions/find and GET /v1/traces/:id/spans. Give the nextCursor of one page as the cursor of the next.
Fields
"newest" or "oldest", by start time. Ties: spanId, then traceId (spans); traceId (traces); the session id (sessions). The span list of one trace is always oldest first.The most rows of one page, at most 10,000 (more:
400). 0 returns only the count, on the routes that have a count.What a cursor promises
- A cursor is a position in the sort order (the key of the last row), not a saved result. The server reads each page as of its own call.
- Each page costs about as much as page 1. There is no offset.
- A row whose sort key does not change comes back once, in order, also while writes go on.
- A new row that sorts before the position is not returned, and does not shift later pages. With
"newest", that is a row newer than page 1. A new row that sorts after the position comes on a later page. - A trace whose start moves during the walk (an earlier span arrives) can come twice or not at all.
- A cursor given with another
sort, or to another list, is an error. So is a string that is not a cursor.
Find traces
The trace list, with its count and previews.
Read pages of a trace
A guide with page 1 and page 2.