[jboss-jira] [JBoss JIRA] (WFLY-13680) Generated metrics have duplicate labels
Jeff Mesnil (Jira)
issues at jboss.org
Tue Jul 21 02:56:00 EDT 2020
[ https://issues.redhat.com/browse/WFLY-13680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14270116#comment-14270116 ]
Jeff Mesnil commented on WFLY-13680:
------------------------------------
Which version of WildFly are you using?
In the latest build, the HELP line for the base_gc_total metric is printed only once as expected:
{code}
# HELP base_gc_total Displays the total number of collections that have occurred. This attribute lists -1 if the collection count is undefined for this collector.
# TYPE base_gc_total counter
base_gc_total{name="PS MarkSweep1"} 1.0
base_gc_total{name="PS Scavenge1"} 14.0
{code}
> 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