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

Issue #5122 - Improve connection statistics for WebSocket #5125

Merged
merged 4 commits into from
Aug 18, 2020

Conversation

lachlan-roberts
Copy link
Contributor

Issue #5122

Add a WebSocketConnectionStatistics class which can be used to record only stats about WebSocket connections and not include stats from HTTP connections such as the upgrade requests.

Also put a managedAttribute on the SessionTracker to get information about the number of active WebSocket Sessions which works without having to configure the Connector statistics mechanism.

Copy link
Contributor

@gregw gregw left a comment

Choose a reason for hiding this comment

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

Looks good... but now I want more!!!

…cludeConnectionStatistics

Signed-off-by: Lachlan Roberts <[email protected]>
@lachlan-roberts lachlan-roberts requested a review from gregw August 17, 2020 00:02
@lachlan-roberts lachlan-roberts merged commit cfd31b2 into jetty-9.4.x Aug 18, 2020
@lachlan-roberts lachlan-roberts deleted the jetty-9.4.x-5122-WebSocketStats branch August 20, 2020 02:49
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.

2 participants