[jboss-jira] [JBoss JIRA] (WFLY-11710) Datasource metrics are not always exposed by the metrics subsystem

Brian Stansberry (Jira) issues at jboss.org
Thu Feb 21 17:26:00 EST 2019


     [ https://issues.jboss.org/browse/WFLY-11710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry reopened WFLY-11710:
-------------------------------------


Reopening as the stability monitor approach has proven to be an issue -- WFLY-11760. And if that's corrected (i.e. https://github.com/wildfly/wildfly/pull/12103) then boot hangs.

> Datasource metrics are not always exposed by the metrics subsystem
> ------------------------------------------------------------------
>
>                 Key: WFLY-11710
>                 URL: https://issues.jboss.org/browse/WFLY-11710
>             Project: WildFly
>          Issue Type: Bug
>          Components: MP Metrics
>    Affects Versions: 16.0.0.Beta1
>            Reporter: Jeff Mesnil
>            Assignee: Jeff Mesnil
>            Priority: Critical
>             Fix For: 16.0.0.CR1
>
>
> The metrics subsystem install a service at RUNTIME to register any metrics on the resources registered in WildFly management tree.
> However, the metrics for datasources are provided by the statistics=jdbc and statistics=pool children of the datasource resource which are installed at RUNTIME.
> Since there is no dependency between the metrics service and the service that installs the datasource statistics, it is possible that the metrics services is started before and while traverse the WildFly management tree before the statistics resources are added to it.
> This issue is intermittent and depend on the sequence of execution of unrelated services.
> To circumvent this issue, the metrics subsystem could install its service at VERIFY stage (instead of RUNTIME) and will then have the guarantee that any resources created at RUNTIME is present in WildFly management tree.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list