Skip to content

docs(api): RUM query time range alignment and caching - #1131

Merged
ysyneu merged 3 commits into
mainfrom
docs/rum-query-time-alignment
Oct 26, 2026
Merged

ysyneu merged 3 commits into
mainfrom
docs/rum-query-time-alignment

Conversation

@ysyneu

@ysyneu ysyneu commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Documents how /rum/data/query and /rum/facet/count align requested time ranges so repeated queries can reuse cached results.

  • format=time_series: start rounded down and end rounded up to the bucket interval; bucket count and positions are unchanged.
  • Aggregate queries and facet count: aligned to max(1 minute, range ÷ 1226 rounded up to the next interval step) when the range spans at least 100 such steps; shorter ranges are neither aligned nor cached.
  • List queries and SQL using time-dependent functions such as now() are neither aligned nor cached.
  • The most recent data may be up to 60 seconds stale.

Extended behavior is rendered through x-mint.content; the operation subtitles remain concise.

@ysyneu ysyneu changed the title docs(api): RUM query time range alignment and disable_cache docs(api): RUM query time range alignment and caching Oct 26, 2026
@ysyneu
ysyneu marked this pull request as ready for review October 26, 2026 10:12
@ysyneu
ysyneu merged commit 4885de7 into main Oct 26, 2026
2 checks passed
@ysyneu
ysyneu deleted the docs/rum-query-time-alignment branch October 26, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant