Skip to content

feat(#508b-3): per-cell sketch pipeline + runtime integration - #513

Closed
zzylol wants to merge 2 commits into
pr-b2-monitorfrom
pr-b3-integration
Closed

zzylol wants to merge 2 commits into
pr-b2-monitorfrom
pr-b3-integration

Conversation

@zzylol

@zzylol zzylol commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Part 3/3 of the old #510, stacked on the monitor PR.

Wires sampling (#508b-1) + the monitor grant (#508b-2) into the edge runtime:

  • per-cell sketch delta (asap-precompute-go/sketches/* + asap-precompute-rs/*),
  • the window threading each item's consistent-sampling identity + granted p into the wrapper (SetSampleIdentity), so the wrapper's per-row admissions match the wire filter exactly,
  • the fused asap_edge processor + OCB manifests, and the otel-app sample_controller.

Needs sketchlib-go #69 (per-cell delta + ConsistentSampler).

🤖 Generated with Claude Code

zzylol and others added 2 commits July 15, 2026 21:49
Wires sampling (#508b-1) + the monitor grant (#508b-2) into the edge: per-cell
sketch delta (Go sketches + asap-precompute-rs), the window threading each
item's consistent-sampling identity + granted p into the wrapper, the fused
asap_edge processor + OCB manifests, and the otel-app sample_controller.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ds, grant hook)

Superseded by SDK-side single-decision sampling. precompute.go/window.go drop
the SampleIdentitySetter interface and the per-observation identity-threading
hook. sketches/{cms,countsketch,ddsketch}.go drop SetSampleIdentity +
consistent* fields, reverting to each wrapper's native GeometricSampler-only
path. asapedgeprocessor/warm_sketch.go drops the OnGrant → otlpfilter.Upsert
wiring and the now-uncalled wireSampleRows helper.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@zzylol

zzylol commented Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by feat/gos-unified-monitoring, which is a verified superset (tree-diff confirmed: identical or additive-only for every touched file) plus ongoing work since the split. Closing in favor of a fresh PR from that branch.

@zzylol zzylol closed this Jul 16, 2026
@zzylol
zzylol deleted the pr-b3-integration branch July 17, 2026 20:08
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