#9631·jaeger

[Feature]: Support pagination in query APIs

Author: yurishkuroCreated Sep 23, 2026Updated Sep 25, 2026
Labelsenhancementhelp wanted

Requirement

A client of the trace search API must be able to retrieve every matching trace, not only the first page. Today FindTraces and FindTraceSummaries return one page capped by search_depth, and everything past the cap is unreachable. The UI cannot offer "load more", and a program walking a time window cannot know whether it saw the whole result.

Design

RFC 0014 settles how this is done: an opaque page_token the caller echoes back for the next page, a next_page_token on the response, and a paginated capability that a backend declares so that one which cannot paginate serves a single capped page and says so, rather than returning a wrong one. Offset paging (limit/offset as in the v1 API) was weighed there and rejected (§3, §10), so a PR adding an offset parameter will be closed.

Status

Delivered:

Open, in order:

  • The paginated entry in the capabilities the UI reads, and the §3.2 token fingerprint once a backend mints tokens.
  • M3 Elasticsearch/OpenSearch, the first paginating backend.
  • M4 remote-storage gRPC.
  • M5 UI "load more".

Each milestone in the RFC has an exit bar. Pick one, say so here before starting, and keep one milestone per PR.

Supersedes #9369 and #2027, which asked for this with the v1 offset model.