Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13314

Metrics smallrye contains duplicated help lines

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 19.0.0.Final
    • 18.0.1.Final
    • MP Metrics
    • None
    • Hide

      Start wildfly 18.0.1
      Scrape the metrics endpoint (localhost:9990/metrics) with prometheus.

      Show
      Start wildfly 18.0.1 Scrape the metrics endpoint (localhost:9990/metrics) with prometheus.

    Description

      The metrics endpoint on which the wildfly microprofile-metrics-smallrye:2.0 subsystem exposes all metrics can't be scraped with prometheus.
      Both the base_gc_time_total & base_gc_total metrics have their help line duplicated which causes prometheus to throw the following error:
      Could not build time series for component wildfly: text format parsing error in line 34: second HELP line for metric name "base_gc_total"

      I have confirmed this is the case for wildfly 18.0.1

      Attachments

        Issue Links

          Activity

            People

              jmesnil1@redhat.com Jeff Mesnil
              matth823 Matthias Depuydt (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: