Merge pull request #45521 from quaff
* pr/45521: Polish MetricsAutoConfiguration Closes gh-45521
This commit is contained in:
commit
c25e330b2e
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2012-2022 the original author or authors.
|
* Copyright 2012-2025 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -56,7 +56,7 @@ public class MetricsAutoConfiguration {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public static MeterRegistryPostProcessor meterRegistryPostProcessor(ApplicationContext applicationContext,
|
static MeterRegistryPostProcessor meterRegistryPostProcessor(ApplicationContext applicationContext,
|
||||||
ObjectProvider<MetricsProperties> metricsProperties,
|
ObjectProvider<MetricsProperties> metricsProperties,
|
||||||
ObjectProvider<MeterRegistryCustomizer<?>> meterRegistryCustomizers,
|
ObjectProvider<MeterRegistryCustomizer<?>> meterRegistryCustomizers,
|
||||||
ObjectProvider<MeterFilter> meterFilters, ObjectProvider<MeterBinder> meterBinders) {
|
ObjectProvider<MeterFilter> meterFilters, ObjectProvider<MeterBinder> meterBinders) {
|
||||||
|
|
Loading…
Reference in New Issue