[JBoss JIRA] (WFWIP-127) Subsystem jgroups exposes 180 metrics, no way to expose subset of metrics
by Jeff Mesnil (Jira)
[ https://issues.jboss.org/browse/WFWIP-127?page=com.atlassian.jira.plugin.... ]
Jeff Mesnil resolved WFWIP-127.
-------------------------------
Resolution: Won't Do
JGroups exposes a lot of metrics but that should be manageable when metrics are properly named and use labels (we should go from 180 metrics to a dozen or so)
> Subsystem jgroups exposes 180 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)
7 years, 7 months
[JBoss JIRA] (WFLY-11420) Configure statistics-enabled for subsystems that exposes metrics
by Jeff Mesnil (Jira)
[ https://issues.jboss.org/browse/WFLY-11420?page=com.atlassian.jira.plugin... ]
Jeff Mesnil moved WFWIP-141 to WFLY-11420:
------------------------------------------
Project: WildFly (was: WildFly WIP)
Key: WFLY-11420 (was: WFWIP-141)
Issue Type: Enhancement (was: Bug)
Component/s: MP Metrics
(was: MP Metrics)
> Configure statistics-enabled for subsystems that exposes metrics
> ----------------------------------------------------------------
>
> Key: WFLY-11420
> URL: https://issues.jboss.org/browse/WFLY-11420
> Project: WildFly
> Issue Type: Enhancement
> Components: MP Metrics
> Reporter: Rostislav Svoboda
> Assignee: Jeff Mesnil
> Priority: Critical
>
> Vendor metrics - subsystem - statistics-enabled to get valid data
> I was playing with vendor metrics and I received a lot of zeros.
> {code}
> curl http://localhost:10090/metrics/vendor 2>/dev/null | grep -v TYPE | grep -v HELP | sort
> {code}
> Note: I use {{-Djboss.socket.binding.port-offset=100}}
> So I started to wonder why and it's because of statistics are not enabled.
> When I enabled statistics for Undertow and hit the WF server main page I saw some changes in metrics.
> {code}
> subsystem=undertow/:write-attribute(name=statistics-enabled, value=true)
> {code}
> Later I realized this scenario is also mentioned in analysis, section WildFly Metrics with undefined value / statistic-enabled = false
> https://github.com/wildfly/wildfly-proposals/blob/cc189b56720951875aa9610...
> So this is mainly tracking + discussion point now.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFWIP-141) Vendor metrics - subsystem - statistics-enabled to get valid data
by Jeff Mesnil (Jira)
[ https://issues.jboss.org/browse/WFWIP-141?page=com.atlassian.jira.plugin.... ]
Jeff Mesnil commented on WFWIP-141:
-----------------------------------
The metrics subsystem ignores WildFly metrics that have undefined value (e.g. if their statistics-enabled that controls them is false)
This ensures that the subsystem only reports actual metric value (otherwise we have to open bugs to fix it).
Standalone configs could be further enhanced by using a global env var to enable the statistics from the subsystems that reports such metrics (undertow, messaging-activemq, etc.)
> Vendor metrics - subsystem - statistics-enabled to get valid data
> -----------------------------------------------------------------
>
> Key: WFWIP-141
> URL: https://issues.jboss.org/browse/WFWIP-141
> Project: WildFly WIP
> Issue Type: Bug
> Components: MP Metrics
> Reporter: Rostislav Svoboda
> Assignee: Jeff Mesnil
> Priority: Critical
>
> Vendor metrics - subsystem - statistics-enabled to get valid data
> I was playing with vendor metrics and I received a lot of zeros.
> {code}
> curl http://localhost:10090/metrics/vendor 2>/dev/null | grep -v TYPE | grep -v HELP | sort
> {code}
> Note: I use {{-Djboss.socket.binding.port-offset=100}}
> So I started to wonder why and it's because of statistics are not enabled.
> When I enabled statistics for Undertow and hit the WF server main page I saw some changes in metrics.
> {code}
> subsystem=undertow/:write-attribute(name=statistics-enabled, value=true)
> {code}
> Later I realized this scenario is also mentioned in analysis, section WildFly Metrics with undefined value / statistic-enabled = false
> https://github.com/wildfly/wildfly-proposals/blob/cc189b56720951875aa9610...
> So this is mainly tracking + discussion point now.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFWIP-141) Configure statistics-enabled for subsystems that exposes metrics
by Jeff Mesnil (Jira)
[ https://issues.jboss.org/browse/WFWIP-141?page=com.atlassian.jira.plugin.... ]
Jeff Mesnil updated WFWIP-141:
------------------------------
Summary: Configure statistics-enabled for subsystems that exposes metrics (was: Vendor metrics - subsystem - statistics-enabled to get valid data)
> Configure statistics-enabled for subsystems that exposes metrics
> ----------------------------------------------------------------
>
> Key: WFWIP-141
> URL: https://issues.jboss.org/browse/WFWIP-141
> Project: WildFly WIP
> Issue Type: Bug
> Components: MP Metrics
> Reporter: Rostislav Svoboda
> Assignee: Jeff Mesnil
> Priority: Critical
>
> Vendor metrics - subsystem - statistics-enabled to get valid data
> I was playing with vendor metrics and I received a lot of zeros.
> {code}
> curl http://localhost:10090/metrics/vendor 2>/dev/null | grep -v TYPE | grep -v HELP | sort
> {code}
> Note: I use {{-Djboss.socket.binding.port-offset=100}}
> So I started to wonder why and it's because of statistics are not enabled.
> When I enabled statistics for Undertow and hit the WF server main page I saw some changes in metrics.
> {code}
> subsystem=undertow/:write-attribute(name=statistics-enabled, value=true)
> {code}
> Later I realized this scenario is also mentioned in analysis, section WildFly Metrics with undefined value / statistic-enabled = false
> https://github.com/wildfly/wildfly-proposals/blob/cc189b56720951875aa9610...
> So this is mainly tracking + discussion point now.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months