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
[java] Include JMX monitoring feature in the Grid local distributor #10674
Conversation
Codecov Report
@@ Coverage Diff @@
## trunk #10674 +/- ##
==========================================
+ Coverage 45.58% 45.60% +0.01%
==========================================
Files 86 86
Lines 5739 5741 +2
Branches 274 274
==========================================
+ Hits 2616 2618 +2
Misses 2849 2849
Partials 274 274
Continue to review full report at Codecov.
|
This patch exposes the number of nodes in the local distributor using JMX through a managed atribute called NodeCount. Issue SeleniumHQ#9794
…s in local distributor Issue SeleniumHQ#9794
SonarCloud Quality Gate failed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @bonigarcia!
…eleniumHQ#10674) * [java] Set LocalDistributor as ManagedService This patch exposes the number of nodes in the local distributor using JMX through a managed atribute called NodeCount. Issue SeleniumHQ#9794 * [java] Include metric for counting the number of down nodes in local distributor * [java] Include metric for counting the number of active and idle slots in local distributor Issue SeleniumHQ#9794 [skip ci]
Description
This PR implements issue #9794. It exposes metrics through JMX in the local distributor, namely:
Regarding the session elapsed time (requested in the original feature proposal issue), that info should be available using GraphQL.
Motivation and Context
Grid 4 already implements JMX monitoring on the nodes. This PR allows to gather also other metrics in the local distributor.
Types of changes
Checklist