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.

…ctionStatistics

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
…n SessionTracker

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
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 <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
@lachlan-roberts lachlan-roberts added this to In progress in Jetty 9.4.32 via automation Aug 18, 2020
@lachlan-roberts lachlan-roberts merged commit cfd31b2 into jetty-9.4.x Aug 18, 2020
Jetty 9.4.32 automation moved this from In progress to Done 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
No open projects
Jetty 9.4.32
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants