[jboss-jira] [JBoss JIRA] (WFWIP-141) Vendor metrics - subsystem - statistics-enabled to get valid data

Rostislav Svoboda (Jira) issues at jboss.org
Tue Nov 6 07:27:01 EST 2018


Rostislav Svoboda created WFWIP-141:
---------------------------------------

             Summary: 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


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/cc189b56720951875aa96102f876ac0399930f9c/microprofile/WFLY-10712_microprofile_metrics.asciidoc#wildfly-metrics-with-undefined-value--statistic-enabled--false

So this is mainly tracking + discussion point now.



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


More information about the jboss-jira mailing list