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
[WFCORE-914] Adjust metrics to work when WFCORE-831 comes in by sett… #7991
Conversation
…ng them to nillable A WFCORE upgrade is coming in with adjustments to the threads metrics attributes. The current usage of this in the wildfly codebase are -ejb3 (has been bumped to 4.0.0 from 3.0.0 in 9.0.1.Final) -jca (has been bumped to 4.0.0 from 3.0.0 in 9.0.1.Final) -batch (this passes in false for 'registerRuntimeOnly' so metrics do not get registered) -batch-jberet (this is new and so does not require a version bump) Similarly in this PR we have made changes to -ejb3 (see above, no bump needed) -jgroups (has been bumped to 4.0.0 from 3.0.0 in 9.0.1.Final) -messaging-activemq (this is new, and so does not require a version bump) -undertow (was 2.0.0 in 9.0.1, and has been bumped to 3.0.0 already)
…, and return undefined if we are admin-only
Windows Build 2918 is now running using a merge of 76cf4ef |
Linux Build 7877 is now running using a merge of 76cf4ef |
Linux Build 7877 outcome was FAILURE using a merge of 76cf4ef Failed tests
|
Windows Build 2918 outcome was SUCCESS using a merge of 76cf4ef |
Windows Build 2923 is now running using a merge of 76cf4ef |
Linux Build 7882 is now running using a merge of 76cf4ef |
Linux Build 7882 outcome was SUCCESS using a merge of 76cf4ef |
Windows Build 2923 outcome was SUCCESS using a merge of 76cf4ef |
…works in both admin-only and normal mode
Windows Build 2932 is now running using a merge of 56535c7 |
Linux Build 7891 is now running using a merge of 56535c7 |
Linux Build 7891 outcome was SUCCESS using a merge of 56535c7 |
Windows Build 2932 outcome was SUCCESS using a merge of 56535c7 |
[WFCORE-914] Adjust metrics to work when WFCORE-831 comes in by sett…
@kabir @stuartwdouglas I messed up by pinging Kabir privately instead of commenting here. As we discussed, for many of these attributes an undefinedMetricValue should be set instead of saying they allow null. So that will need to be fixed. |
Ah, #8016 already does this. :) |
…ing them to nillable
A WFCORE upgrade is coming in with adjustments to the threads metrics
attributes. The current usage of this in the wildfly codebase are
-ejb3 (has been bumped to 4.0.0 from 3.0.0 in 9.0.1.Final)
-jca (has been bumped to 4.0.0 from 3.0.0 in 9.0.1.Final)
-batch (this passes in false for 'registerRuntimeOnly' so metrics do not
get registered)
-batch-jberet (this is new and so does not require a version bump)
Similarly in this PR we have made changes to
-ejb3 (see above, no bump needed)
-jgroups (has been bumped to 4.0.0 from 3.0.0 in 9.0.1.Final)
-messaging-activemq (this is new, and so does not require a version
bump)
-undertow (was 2.0.0 in 9.0.1, and has been bumped to 3.0.0 already)
With this fix, I am mostly able to do a
in both admin-only and normal modes, against the snapshot of WFCORE-831.
Mostly, because I still need to comment out https://github.com/wildfly/wildfly/blob/master/clustering/jgroups/extension/src/main/java/org/jboss/as/clustering/jgroups/subsystem/ProtocolMetricsHandler.java#L267 to get it to work. However, this is not just hit when running in admin-only mode, but also in normal mode when the server has no deployments involving clustering. The simple fix is to remove that line, but @rhusar is investigating whether that can be made more fine-grained.