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

Prometheus metrics exported incorrectly

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

       

              rh-ee-jbolina Jose Bolina
              rh-ee-jbolina Jose Bolina
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: