-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Polish gh-40023 #41208
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
Polish gh-40023 #41208
Conversation
@@ -69,14 +67,14 @@ | |||
before = { CompositeMeterRegistryAutoConfiguration.class, SimpleMetricsExportAutoConfiguration.class }, | |||
after = { MetricsAutoConfiguration.class, PrometheusMetricsExportAutoConfiguration.class }) | |||
@ConditionalOnBean(Clock.class) | |||
@ConditionalOnClass(PrometheusMeterRegistry.class) | |||
@ConditionalOnClass(io.micrometer.prometheus.PrometheusMeterRegistry.class) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason for that change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mhalbritter I just wanted to align with the fully qualified return type of the simpleclientPrometheusMeterRegistry()
below and remove the import statement for the PrometheusMeterRegistry
that has been deprecated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah so you switched to fully qualified types to get rid of the deprecated imports.
Hey, thanks for the PR, i've added a comment. |
Thanks! |
This PR polishes the changes made in gh-40023 a bit.