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

Unable to utilize Micrometer histograms out of the box

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • None
    • 29.0.1.Final, 30.0.0.Final
    • Micrometer
    • None
    • ---
    • ---

      In an attempt to get similar output from Micrometer as MP Metrics, I started calling publishPercentiles }}and {{publishPercentileHistogram }}on my {{{}Timer.Builder.  Upon starting the application I received an error:

      Caused by: java.lang.ClassNotFoundException: org.HdrHistogram.DoubleRecorder from [Module "io.micrometer" version 1.9.13 from local module loader @29ca3d04 (finder: local module finder @b2c5e07 (roots: /opt/jboss/wildfly/modules,/opt/jboss/wildfly/modules/system/layers/base))]

      I was able to get the application working by adding HdrHistogram-2.1.12.jar to \modules\system\layers\base\io\micrometer\main and adding an entry for that jar to the module.xml resources section: <resource-root path="HdrHistogram-2.1.12.jar"/>

      It would be very helpful for this core feature of Micrometer to function "out of the box" with Wildfly.

            jaslee@redhat.com Jason Lee
            dstutz97 David Stutzman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: