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

Ivona Skorjanc (Jira) issues at jboss.org
Mon Jul 20 03:47:00 EDT 2020


Ivona Skorjanc created WFLY-13680:
-------------------------------------

             Summary: Generated metrics have duplicate labels
                 Key: WFLY-13680
                 URL: https://issues.redhat.com/browse/WFLY-13680
             Project: WildFly
          Issue Type: Bug
          Components: CLI
            Reporter: Ivona Skorjanc
            Assignee: Jean Francois Denise
         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