Imported from [JAVA-2734](https://datastax-oss.atlassian.net/browse/JAVA-2734), originally reported by tomekl007 on Thu, 9 Apr 2020 10:13:05 GMT.
After [https://datastax-oss.atlassian.net/browse/JAVA-2694](https://datastax-oss.atlassian.net/browse/JAVA-2694) we re-implemented the metrics to work with MicroProfile.
The MicroProfileMetricsUpdater.initializeTimer method was simplified, and the current does not use custom HdrHistogram implementation and ignores driver parameters that control that, ie:
We should re-implement the HdrHistogram in the MicroProfile to keep the optimized logic.
We can use TimerImpl class that takes the Reservoir as an argument. The Reservoir should be implemented with a custom logic that mimics the HdrHistogram from java-driver.
Imported from [JAVA-2734](https://datastax-oss.atlassian.net/browse/JAVA-2734), originally reported by tomekl007 on Thu, 9 Apr 2020 10:13:05 GMT.
After [https://datastax-oss.atlassian.net/browse/JAVA-2694](https://datastax-oss.atlassian.net/browse/JAVA-2694) we re-implemented the metrics to work with MicroProfile.
The MicroProfileMetricsUpdater.initializeTimer method was simplified, and the current does not use custom HdrHistogram implementation and ignores driver parameters that control that, ie:
We should re-implement the HdrHistogram in the MicroProfile to keep the optimized logic.
We can use TimerImpl class that takes the Reservoir as an argument. The Reservoir should be implemented with a custom logic that mimics the HdrHistogram from java-driver.
┆Issue is synchronized with this Jira Task by Unito