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

Metrics smallrye contains duplicated help lines

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 18.0.1.Final
    • Fix Version/s: 19.0.0.Final
    • Component/s: MP Metrics
    • Labels:
      None
    • Steps to Reproduce:
      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jmesnil Jeff Mesnil
                  Reporter:
                  matth823 Matthias Depuydt
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: