Open
Description
Hi!
In cache2k-micrometer
there is a class named Cache2kCacheMetrics
.
It has a method called hitCount
that can, in some rare cases, return negative value.
Values returned by this method are used as Micrometer counter, which by definition cannot be negative.
I believe solution would be as simple, as just returning 0
instead of negative value in this case
Metadata
Metadata
Assignees
Labels
No labels