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

Jeff Mesnil (Jira) issues at jboss.org
Mon Nov 5 07:57:00 EST 2018


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

Jeff Mesnil commented on WFWIP-127:
-----------------------------------

I have addressed this issue by specifying a "exposed-subsystems" in the subsystem management model to define a whitelist of subsystems that will expose their metrics from the MP Metrics HTTP endpoints.
I also added support for the "*" wildcard (as a simple way to include metrics from any subsystem).


[~rsvoboda] does that address this issue?

> 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