-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accidental strict dep on LatencyUtils #1599
Comments
here's an example of another project working around a similar accidental strict dep line/armeria#2107 |
It looks like HdrHistogram is also effectively mandatory, It would be nice for these to be optional.
|
Is this task currently prioritized for the next release? Is there any time estimate of when it would be ready? If I can get a "deep dive tour" around the relevant areas of the codebase I would be happy to jump on this one! |
This problem still exists. |
LatencyUtils is currently a declared runtime dependency in micrometer-core. If you are using the default configuration (NoPauseDetector) then you should be able to exclude the LatencyUtils dependency in your application. In other words, it should be optional although it is declared. I tried excluding it and ran into an issue at runtime. I think we can easily improve that, at least, without affecting backwards compatibility. |
Resolved by #3262 |
If you are not configuring a pause detector, you can exclude the LatencyUtils dependency. |
It seems there are some guards to try to not use LatencyUtils unless pause detection is in use. However, there's still a compile dep.
The text was updated successfully, but these errors were encountered: