feat: add experimental support for promql via CH timeseries table#2349
Conversation
(cherry picked from commit d2527afeb21b25ba785a6a62088402f2d6489ca0)
supported (cherry picked from commit 502d0081a4832bb48d3cee815d18ef247b034fd0)
(cherry picked from commit 44ca1efb55a3f63216813d5057ad4de4d17efcbe)
(cherry picked from commit 4e21660ea09e6ec4323fa02dea78841d5584f281)
- prometheus router: use new ClickhouseClient() directly (OSS pattern) instead of EE-only createClickHouseClient helper - renderChartConfig: scope useTextIndexForImplicitColumn type access to BuilderChartConfigWithDateRange so the new PromqlChartConfigEx union variant doesn't break the indexed access - renderChartConfig test: drop unused 4th sourceFilters arg - clickhouse/index.ts: remove unused SourceFilters import - useChartConfig.tsx: group prometheusApi import with siblings
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 5a58388 The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
🔴 Tier 4 — CriticalTouches auth, data models, config, tasks, OTel pipeline, ClickHouse, or CI/CD. Why this tier:
Review process: Deep review from a domain expert. Synchronous walkthrough may be required. Stats
|
E2E Test Results✅ All tests passed • 193 passed • 3 skipped • 1244s
Tests ran across 4 shards in parallel. |
Deep ReviewScope: 63 files, +2028/-61 against 🔴 P0/P1 — must fix
🟡 P2 — recommended
Testing gaps (P2):
🔵 P3 nitpicks (18)
Pre-existing (separated, not counted in verdict):
Reviewers (11): correctness, security, testing, maintainability, project-standards, reliability, api-contract, performance, adversarial, kieran-typescript, agent-native. Coverage: Testing gaps:
|
Summary
Adds extremely experimental support for PromQL in HyperDX via the ClickHouse Timeseries Engine.
Screenshots or video
References