Skip to content
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

java.lang.IllegalArgumentException: Percentile (995.0) is not currently cached #1214

Closed
AchimWe opened this issue May 24, 2016 · 1 comment
Closed

Comments

@AchimWe
Copy link

AchimWe commented May 24, 2016

Hi,

first of all thanks for providing the “hystrix servo metrics publisher”. It works fine but with version 1.5.2 of the hystrix-core I got illegal argument exceptions:
java.lang.IllegalArgumentException: Percentile (995.0) is not currently cached
This exception is thrown in com.netflix.hystrix.metric .CachedValuesHistogram.java line 150.

I think this problem is cause by a typo in
com.netflix.hystrix.contrib.servopublisher. HystrixServoMetricsPublisherCommand.

At line 518 the following statement adds a value 995
monitors.add(getTotalLatencyPercentileMonitor("latencyTotal_percentile_995", 995));
I think the value should be 99.5 instead of 995.

Kind regards
Achim Wehling

@mattrjacobs
Copy link
Contributor

Thanks for the report. Fixed in #1215

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants