[jboss-jira] [JBoss JIRA] (WFLY-13680) Generated metrics have duplicate labels

Jeff Mesnil (Jira) issues at jboss.org
Tue Jul 21 04:07:00 EDT 2020


    [ https://issues.redhat.com/browse/WFLY-13680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14270285#comment-14270285 ] 

Jeff Mesnil commented on WFLY-13680:
------------------------------------

I checked that WildFly 19 that upgraded the smallrye-metrics component (in charge of exporting the metrics) had fixed this issue in WFLY-13022

> Generated metrics have duplicate labels
> ---------------------------------------
>
>                 Key: WFLY-13680
>                 URL: https://issues.redhat.com/browse/WFLY-13680
>             Project: WildFly
>          Issue Type: Bug
>          Components: MP Metrics
>            Reporter: Ivona Skorjanc
>            Assignee: Jeff Mesnil
>            Priority: Major
>         Attachments: kc_metric.txt
>
>
> We are using Keycloak which generates metrics using the jBoss CLI: [https://github.com/keycloak/keycloak-containers/blob/master/server/tools/statistics.sh]
>  We want to use Telegraf (with the Prometheus input plugin) to read the generated metrics. However, we get the following error:
> {{Error in plugin: error reading metrics for [http://localhost:9990/metrics]: reading text format failed: text format parsing error in line 34: second HELP line for metric name "base_gc_total"}}
> The base_gc_total metric appears twice for some reason. See the full metrics output in the attachment.
>  



--
This message was sent by Atlassian Jira
(v7.13.8#713008)



More information about the jboss-jira mailing list