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

Rostislav Svoboda (Jira) issues at jboss.org
Mon Nov 5 08:24:00 EST 2018


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

Rostislav Svoboda commented on WFWIP-127:
-----------------------------------------

Description of the issues says: {{There is no way to expose subset of metrics for subsystem}}.

In case of jgroups subsystem it's not sufficient for me to have 0 or 354.
I would like to specify just some of the jgroups metrics ...

Or other way around is to *expose just 10-20 metrics for jgroups*. Who will really look into that? It's just too low level information and jgroups are just implementation detail and modules.xml for org.jgroups says {{<property name="jboss.api" value="unsupported"/>}}

When I look into Prometheus and create new chart, drop-down list is polluted by jgroups items which are more than 70% of all the entries in the list.



> 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