-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Provide a mechanism to disable MetricFilterAutoConfiguration's metric filter #2599
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
Comments
If you don't want the
|
Unfortunately it's not possible. |
Making the bean |
I don't mind what type of |
Thanks a lot guys !!! |
Hi, I'm on spring boot 1.3.0.RELEASE but the property is |
Our project already uses Dropwizard
com.codahale.metrics.servlet.InstrumentedFilter
.For us
MetricFilterAutoConfiguration.MetricsFilter
adds noise to our ops team with its added metrics.We would like to remove it but we could not find a way.
One "easy" way would be for
MetricFilterAutoConfiguration.MetricsFilter
to be@ConditionalOnMissingBean(name="metricFilter")
The text was updated successfully, but these errors were encountered: