Conversation
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>
Contributor
Author
|
Superseded by |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 + asample_pvia the ε-floorp=1/(1+ε²·rate), and fires on τ. Self-containedmonitorpackage + regenerated gRPC proto (scalar-only; F2 removed).🤖 Generated with Claude Code