Skip to content

Add URMA observability and diagnostics - #97

Draft
Spicy-cream wants to merge 2 commits into
masterfrom
feature/urma-observability
Draft

Spicy-cream wants to merge 2 commits into
masterfrom
feature/urma-observability

Conversation

@Spicy-cream

@Spicy-cream Spicy-cream commented Nov 2, 2026 •

Copy link
Copy Markdown

What problem does this PR solve?

URMA needs connection-level statistics and resource watermarks to locate SQ pressure, remote receive-credit starvation and registered-buffer exhaustion, and to relate transport waits to individual RPCs.

What is changed and the side effects?

Changed:

  • Add process-wide bvars and per-connection statistics for bulk writes, data WRs, resource waits, errors and handshake outcomes.
  • Export registered BufferPool occupancy and watermarks through JSON socket snapshots.
  • Add sampled RPC transport tracing and a diagnostic CLI for queries and rate watching.
  • Keep CQ processing runnable for traced responses, reclaim send slots after their buffers, and publish mock send completion after consuming source SGEs.

Transport tracing is disabled by default and configured with urma_trace_sample_every.

Check List:

  • URMA mock and TCP-only builds pass.
  • Existing URMA, Socket and builtin-service suites pass; new observability and CLI tests pass.
  • Event-mode and polling-mode data-path tests each pass 50 consecutive runs.

@Spicy-cream Spicy-cream changed the title Add URMA transport observability and diagnostic CLI Add URMA observability and diagnostics Nov 2, 2026
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