Skip to content

improve websocket logging#6475

Merged
wiz merged 1 commit intomasterfrom
mononaut/websocket-logs
Apr 22, 2026
Merged

improve websocket logging#6475
wiz merged 1 commit intomasterfrom
mononaut/websocket-logs

Conversation

@mononaut
Copy link
Copy Markdown
Contributor

extends the existing websocket stats logging with more detailed metrics on active subscriptions.

Copilot AI review requested due to automatic review settings April 18, 2026 07:12
@cla-bot cla-bot Bot added the cla-signed label Apr 18, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Extends existing WebSocket stats logging with additional metrics around active track-txs and track-addresses subscriptions, including counts of tracked items and update volumes.

Changes:

  • Add per-client counters for track-txs and track-addresses update volumes and increment them when updates are sent.
  • Enhance periodic WebSocket logging to include totals/averages/max for tracked txs/addresses and per-subscription tracked/updates metrics.
  • Add a helper (countAddressTransactions) to count transactions included in multi-address updates.

@mononaut mononaut requested a review from natsoni April 22, 2026 01:46
@wiz wiz merged commit 6b9d7d7 into master Apr 22, 2026
30 checks passed
@wiz wiz deleted the mononaut/websocket-logs branch April 22, 2026 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants