Repository navigation
feat(observability): expose SPSC ring drop telemetry via control socket status and Prometheus metrics - #262
Merged
Merged
Conversation
…lResponse::Status
…e warnings in CLI
vxfemboy
temporarily deployed
to
benchmark-approval
November 18, 2026 23:39 — with
GitHub Actions
Inactive
vxfemboy
temporarily deployed
to
benchmark-approval
November 18, 2026 23:39 — with
GitHub Actions
Inactive
vxfemboy
temporarily deployed
to
benchmark-approval
November 19, 2026 00:40 — with
GitHub Actions
Inactive
vxfemboy
temporarily deployed
to
benchmark-approval
November 19, 2026 00:40 — with
GitHub Actions
Inactive
This branch was previously deployed
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.
Summary
This PR implements Issue #260 by exposing lock-free cross-shard SPSC ring drop telemetry via daemon control status and Prometheus metrics.
Key Changes
crates/yip-proto):#[serde(default)] pub spsc_queue_drops: u64toControlResponse::Status.bin/yipd/src/control.rs):dispatch_cmd, readscrate::sharding::SPSC_QUEUE_DROPS.load(Ordering::Relaxed).format_cli_statusfor pure formatting logic and testability.yip status, surfacesRing Drops: <count>in warning red when drops > 0, while keeping output clean when drops are 0.yip status --json, always emits"spsc_queue_drops": <count>.bin/yipd/src/metrics.rs):yip_spsc_queue_drops_totalas a Prometheus 0.0.4 text counter with HELP and TYPE metadata.[Unreleased]->AddedinCHANGELOG.md.Verification
cargo testacross the entire workspace passed cleanly.cargo fmt --checkandcargo clippy --all-targets -- -D warningspassed with 0 warnings.cargo mutantscaught 100% of mutants (30 caught, 2 unviable, 0 missed).#![forbid(unsafe_code)]preserved, zero hotpath allocations, strictly zero emojis.Closes #260