[jboss-jira] [JBoss JIRA] (WFWIP-141) Configure statistics-enabled for subsystems that exposes metrics

Jeff Mesnil (Jira) issues at jboss.org
Mon Nov 26 09:51:02 EST 2018


     [ https://issues.jboss.org/browse/WFWIP-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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/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