-
Feature Request
-
Resolution: Done
-
Major
-
None
-
29.0.1.Final, 30.0.0.Final
-
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.