Details

    • Steps to Reproduce:
      Hide
      • In Keycloak, turn the KEYCLOAK_STATISTICS flag to true.
      • See that some metrics are duplicated.
      Show
      In Keycloak, turn the KEYCLOAK_STATISTICS flag to true. Open  http://localhost:9990/metrics  endpoint. See that some metrics are duplicated.

      Description

      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.

       

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jmesnil Jeff Mesnil
                Reporter:
                ivonask Ivona Skorjanc
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: