fix: agent OTLP receiver max_recv_msg_size_mib=64 (was silently dropping high-cardinality batches) - #351
Merged
Conversation
PR #112 (freshness probe cache) and PR #350 (storage routing cumulative) both flagged producer→agent gRPC failures with high-cardinality batches: rpc error: code = ResourceExhausted desc = grpc: received message after decompression larger than max (X vs. 4194304) The gateway already has `max_recv_msg_size_mib: 64` (controller emit at stage_config.rs:428 + the corresponding gateway placeholder), but the AGENT receiver inherits the 4 MiB grpc default. With 5K series × 500 user_ids on the new HLL workload, batches exceed 4 MiB and the agent silently drops them — no metric flow → no sketch state → no probe data. Three sites: - `deploy/configs/asap-otel-agent-b6-asap-single-sketch.yaml` (static placeholder loaded via volume mount) - `controller/src/config/stage_config.rs:128` (typed Edge emit, the legacy single-pipeline arm) - `controller/src/config/stage_config.rs:852` (typed Edge emit, the 5-sketch routing-connector arm) OTAP variant (`stage_config_otap.rs`) uses a different listener_addr shape; left untouched — needs a separate look. Refs #46. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Producer→agent gRPC failures with high-cardinality HLL batches (5K series × 500 user_ids) > 4 MiB default cap. Both PR #112 and #350 flagged this. Three sites (static placeholder + 2 typed-emit arms in stage_config.rs).