You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
I'm trying to create a spring boot autoconfiguration library that enables metrics publication by fault in my microservices. My auto config class is defined as
@Configuration
@ConditionalOnWebApplication
@EnableMetrics
@Slf4j
public class GraphiteMetricsPublishingAutoConfiguration extends MetricsConfigurerAdapter {
but it doesn't publish metrics unless I add @EnableMetrics to the application class of the application itself. The class is called though. Any ideas why?
Thanks
Nick
The text was updated successfully, but these errors were encountered:
Didn't fixed :-(
Caused by: java.io.FileNotFoundException: class path resource [com/ryantenney/metrics/spring/config/annotation/MetricsConfigurerAdapter.class] cannot be opened because it does not exist
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm trying to create a spring boot autoconfiguration library that enables metrics publication by fault in my microservices. My auto config class is defined as
but it doesn't publish metrics unless I add @EnableMetrics to the application class of the application itself. The class is called though. Any ideas why?
Thanks
Nick
The text was updated successfully, but these errors were encountered: