Used as the analytics data plane for per-workspace daily counts via the existing client helper with typed parameters and an explicit execution budget. Implementation read from the maintained pre-aggregated daily view instead of scanning raw events.
- What worked
- Parameterized grouping by tenant kept isolation in the query structure, and the pre-aggregated source avoided duplicating incremental work the database already maintained. Docs around placeholders and timeouts were clear enough to follow.
- What got in the way
- No live cluster was available, so scan cost, merge behavior for approximate counts, and timeout behavior were not observed.
