Skip to content

feat(#508b-2): scalar CDM slack-countdown monitor + gRPC transport - #512

Closed
zzylol wants to merge 2 commits into
pr-b1-samplingfrom
pr-b2-monitor
Closed

zzylol wants to merge 2 commits into
pr-b1-samplingfrom
pr-b2-monitor

Conversation

@zzylol

@zzylol zzylol commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

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

Where p (and the alert) come from. The Cormode–Muthukrishnan–Yi distributed functional monitor: per (agg_id,key) the coordinator runs rounds, grants each edge local slack + a sample_p via the ε-floor p=1/(1+ε²·rate), and fires on τ. Self-contained monitor package + regenerated gRPC proto (scalar-only; F2 removed).

🤖 Generated with Claude Code

zzylol and others added 2 commits July 15, 2026 21:49
Where the sample probability p (and the alert threshold) come from: the
Cormode-Muthukrishnan-Yi distributed functional monitor. Per (agg_id,key) the
coordinator runs rounds, grants each edge local slack + a sample_p via the
ε-floor p=1/(1+ε²·rate), and fires on τ. Self-contained monitor package +
regenerated grpc proto.

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

Superseded by SDK-side single-decision sampling — the coordinator's grant no
longer needs forwarding to a collector-side wire filter. grantedSampleP
storage (feeding the wrapper's own native sampler via applyGrantedSampleP)
is untouched and remains the fallback for traffic without SDK-side sampling.

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-b2-monitor 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