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 Annotation Config not working as documented #191

Open
kutzi opened this issue Oct 31, 2016 · 0 comments
Open

Java Annotation Config not working as documented #191

kutzi opened this issue Oct 31, 2016 · 0 comments

Comments

@kutzi
Copy link

kutzi commented Oct 31, 2016

The Java Annotation Config is not working for me as documented on https://github.com/ryantenney/metrics-spring.

I have a class configured with
@configuration
@EnableMetrics(proxyTargetClass = true)
and extending MetricsConfigurerAdapter.

But nevertheless, the DelegatingMetricsConfiguration class is always called (1st)
and the overridden getMetricRegistry() method in my configuration class is not called at all

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

1 participant