[jboss-jira] [JBoss JIRA] (WFWIP-127) Subsystem jgroups exposes 354 metrics, no way to expose subset of metrics

Paul Ferraro (Jira) issues at jboss.org
Tue Nov 6 15:23:00 EST 2018


    [ https://issues.jboss.org/browse/WFWIP-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13657474#comment-13657474 ] 

Paul Ferraro commented on WFWIP-127:
------------------------------------

[~jmesnil] The statistics-enabled property currently only toggles whether JGroups internally collects statistics for a channel.  The bulk of the metrics in question are dynamically registered during runtime via runtime child resources of a given connected channel.  We should easily be able to toggle registration based on the value of the statistics-enabled property of the parent channel.  Does that sound satisfactory?

> Subsystem jgroups exposes 354 metrics, no way to expose subset of metrics
> -------------------------------------------------------------------------
>
>                 Key: WFWIP-127
>                 URL: https://issues.jboss.org/browse/WFWIP-127
>             Project: WildFly WIP
>          Issue Type: Bug
>          Components: MP Metrics
>            Reporter: Rostislav Svoboda
>            Assignee: Jeff Mesnil
>            Priority: Critical
>
> Subsystem jgroups exposes 354 metrics
> There is no way to expose subset of metrics for subsystem
> standalone.xml
> {code}
> curl http://localhost:10090/metrics 2>/dev/null | grep -v TYPE | grep -v HELP | wc -l
>      109
> curl http://localhost:10090/metrics 2>/dev/null | grep -v TYPE | grep -v HELP | grep subsystem | cut -d_ -f 3 | sort | uniq -c
>    7 batch
>    1 datasources
>    7 ejb3
>    6 io
>    8 jca
>    1 request
>   11 transactions
>   12 undertow
> {code}
> standalone-full-ha.xml
> {code}
> curl http://localhost:10090/metrics 2>/dev/null | grep -v TYPE | grep -v HELP | wc -l
>      497
> curl http://localhost:10090/metrics 2>/dev/null | grep -v TYPE | grep -v HELP | grep subsystem | cut -d_ -f 3 | sort | uniq -c
>    7 batch
>    1 datasources
>    7 ejb3
>    6 io
>    8 jca
>  354 jgroups
>   10 messaging
>    1 request
>   11 transactions
>   18 undertow
> {code}



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


More information about the jboss-jira mailing list