Add module Rage::Telemetry::Capacity - #396
Open
Abishekcs wants to merge 4 commits into
Open
Conversation
Exposes the number of connections currently waiting in the kernel's accept queue for the server's listening sockets how many clients have connected but haven't been picked up by the app yet. Backed by Iodine.queued_connections, which walks Iodine's own listeners and reads each one's queue depth from the kernel. Meant to be sampled on a timer via Rage::Telemetry.every, the same way GC stats are, so it can be reported alongside other reactor health metrics. Adds two specs: one confirms the reported count matches the number of connections actually parked in the queue, the other confirms the method works correctly when called from inside a .every block.
Abishekcs
marked this pull request as draft
September 3, 2026 14:48
Abishekcs
commented
Sep 4, 2026
rsamoilov
reviewed
Sep 6, 2026
- Rename Iodine.queued_connections to Iodine::Perf.queued_connections as `queued_connections` has been moved into the `Perf` module in iodine codebase.
Abishekcs
marked this pull request as ready for review
September 7, 2026 15:17
Member
Author
|
@rsamoilov PR is ready for review. |
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.
#379
What this PR does?
Exposes the number of connections currently waiting in the kernel's accept queue for the server's listening sockets how many clients have connected but haven't been picked up by the app yet. Backed by Iodine.queued_connections, which walks Iodine's own listeners and reads each one's queue depth from the kernel.
Adds two specs: one confirms the reported count matches the number of connections actually parked in the queue, the other confirms the method works correctly when called from inside a .every block.
Screen Recording
Tele.Rage.mp4