-
Notifications
You must be signed in to change notification settings - Fork 463
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-1513] Register metrics depends on the server type #1539
Conversation
* register metrics in the ConcreteResourceRegistration only when they are meaningful (for the given ProcessType/RunningMode). * add the AttibuteAccess.Flag.FORCE_REGISTRATION to override this behaviour and always force the registration of the metric. This is meant for metrics that are *always* relevant (eg MBean metrics that are computed by the JVM) * add this flag to MBean metrics, service-config's status and socket-binding metrics * add the ManagementResourceRegistration.Factory#forEnvironment API to create a ManagementResourceRegistration aware of the process type and running mode. JIRA: https://issues.jboss.org/browse/WFCORE-1513
* replace deprecated ManagementResourceRegistration.Factory calls (without process type/running mode) by the new ones in the tests JIRA: https://issues.jboss.org/browse/WFCORE-1513
I've preserved the old |
Core - Full Integration Build 2786 outcome was FAILURE using a merge of 975d84c Failed tests
|
Full integration - Windows Build 1222 outcome was FAILURE using a merge of 975d84c Failed tests
|
[WFCORE-1513] Register metrics depends on the server type
meaningful (for the given ProcessType/RunningMode).
behaviour and always force the registration of the metric. This is
meant for metrics that are always relevant (eg MBean metrics that
are computed by the JVM)
socket-binding metrics
create a ManagementResourceRegistration aware of the process type and
running mode.
(without process type/running mode) by the new ones in the tests
JIRA: https://issues.jboss.org/browse/WFCORE-1513