Skip to content

Measure MetricsQL candidates against VictoriaMetrics - #626

Merged
zzylol merged 11 commits into
mainfrom
feat/metricsql-calibration-workflow
Sep 11, 2026
Merged

zzylol merged 11 commits into
mainfrom
feat/metricsql-calibration-workflow

Conversation

@zzylol

@zzylol zzylol commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

VictoriaMetrics evaluation now uses the shared MetricsQL compiler entry and native exact process with matching cache policy, per-query accuracy units, and complete candidate CPU accounting. Accuracy calibration uses production accumulators and a disjoint key namespace; it does not substitute HLL standard error for measured per-query error.

The normal control-plane compiler selected HLL p12 from aligned measured candidate quotes. An independent fresh-process evaluation of the generated 40-series, one-hour, 100ms dataset completed 60/60 warm queries with complete results and maximum relative error 4.557%, within the empirical 5% target. Median latency was 13.174ms versus native VM 62.564ms; combined backend+externalVM lifecycle CPU was 15.264s versus 16.735s. Memory was higher, not lower. Full scope, provenance, and limitations are in docs/developer_docs/hll-cost-selected-victoriametrics-evaluation.md.

Verification: MetricsQL entry and HLL ERP regression passed; workflow Python tests passed; release accuracy calibration, complete cost selection, and independent selected-plan/native process runs completed. The predeclared p10 failure remains recorded. CI is pending for the latest documentation update.

Stacked on #619. The generated sensitivity case does not replace original o11ybench/YAML workload coverage, larger-scale measurements, or moving-window/concurrent-throughput experiments; these remain pending. Native VM v1.126.0 rejects entropy_over_time and l2_over_time, so this PR claims no native comparison for those functions. Finite ingest feedback is implemented separately in #638; autonomous continuous replanning is outside this PR.

@zzylol
zzylol changed the base branch from feat/erp-readout-calibration to main September 11, 2026 16:13
@zzylol
zzylol marked this pull request as ready for review September 11, 2026 16:13
@zzylol
zzylol merged commit 26a0bbb into main Sep 11, 2026
1 check passed
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