[jboss-jira] [JBoss JIRA] (WFLY-12543) Subsystem metrics are missing from microprofile-metrics JSON output
Richard DiCroce (Jira)
issues at jboss.org
Wed Sep 11 18:26:00 EDT 2019
[ https://issues.jboss.org/browse/WFLY-12543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13783256#comment-13783256 ]
Richard DiCroce commented on WFLY-12543:
----------------------------------------
I just noticed this in the WildFly 17 documentation:
bq. The WildFly metrics (that measures activity in the subsystem or application deployments) are exposed only on the /metrics endpoint with the Prometheus format.
Okay, so I guess this isn't a bug, but that still seems like a strange limitation. It really cripples the usefulness of the JSON format.
> Subsystem metrics are missing from microprofile-metrics JSON output
> -------------------------------------------------------------------
>
> Key: WFLY-12543
> URL: https://issues.jboss.org/browse/WFLY-12543
> Project: WildFly
> Issue Type: Bug
> Components: MP Metrics
> Affects Versions: 17.0.1.Final, 18.0.0.Beta1
> Reporter: Richard DiCroce
> Assignee: Jeff Mesnil
> Priority: Major
>
> Calling /metrics with Accept = application/json results in much fewer metrics being returned than when it is called without Accept (and thus returns data in the OpenMetrics format). Specifically, all the subsystem metrics (anything affected by the prefix configured in the microprofile-metrics subsystem) are missing.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
More information about the jboss-jira
mailing list