]
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.