David J. M. Karlsen
David J. M. Karlsen
Any chance of getting this fixed?
I was close with my branch - but it b0rked MetricAnnotationTest.
https://github.com/ryantenney/metrics-spring/pull/123
Working on it - let us just collect a few loose ends on our side.
We've stopped using graphite and now use prometheus - at any rate we only poll for datasource level metrics (e.g. not down at the query level) - so not so...
Seeing the same - but I think it might be connected with fat-jar packaging: https://github.com/spring-projects/spring-boot/issues/20666 - it runs fine in IntellJ on same jdk (but different OS)
in my case the problem was threading: https://stackoverflow.com/questions/45742638/classcastexception-while-searching-for-ldap-user - so I guess it's really a classloader related bug in spring-ldap.
It's due to the threadclassloader, see the SO thread I linked to. I ran it from a parallel stream and it failed with the classcast - making it a normal...
IDK - the sample wasn't mine - but I can tell that it works as long as I run things serially.