Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13871

Prometheus metrics exported incorrectly

    XMLWordPrintable

Details

    Description

      Before moving from SmallRye to Micrometer, it was unaccepted to register metrics with duplicate names, resulting in an exception thrown, seen in JDG-5253. The Micrometer version accepts the metrics with duplicated names, but unfortunately, this leads to a problem when exporting to Prometheus.
      Duplicated names are possible when registering caches that differ only by non-alphanumerical characters, for example, `special-name` and `special/name`. In such cases, all caches work as expected, and Micrometer registers everything, and the console correctly displays the metrics, but Prometheus exports incorrectly, exporting only one of the cache metrics.

       

      Attachments

        Activity

          People

            rh-ee-jbolina Jose Bolina
            rh-ee-jbolina Jose Bolina
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: