Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sync network context cache size metrics #6049

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

dapplion
Copy link
Collaborator

@dapplion dapplion commented Jul 4, 2024

Issue Addressed

Add metrics to track the size of active request maps in sync's network context. These metrics can help catch leaks and unexpected behavior

Proposed Changes

Add sync network context cache size metrics

  • sync_active_network_requests: Current count of active network requests from sync
  • sync_unknwon_network_request: Total count of network messages received for unknown active requests

@dapplion dapplion added the ready-for-review The code is ready for review label Jul 4, 2024
Copy link
Member

@realbigsean realbigsean left a comment

Choose a reason for hiding this comment

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

awesome!

@realbigsean
Copy link
Member

@mergify queue

Copy link

mergify bot commented Jul 9, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at bde0428

mergify bot added a commit that referenced this pull request Jul 9, 2024
@mergify mergify bot merged commit bde0428 into sigp:unstable Jul 9, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-review The code is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants