Class MicrometerMetricsCaptorConfiguration
java.lang.Object
org.springframework.integration.support.management.micrometer.MicrometerMetricsCaptorConfiguration
@Configuration(proxyBeanMethods=false) public class MicrometerMetricsCaptorConfiguration extends Object
A
Configuration to add a MicrometerMetricsCaptor.- Since:
- 5.2.9
- Author:
- Artem Bilan
-
Field Summary
Fields Modifier and Type Field Description static booleanMETER_REGISTRY_PRESENTAbooleanflag to indicate if theio.micrometer.core.instrument.MeterRegistryclass is present in the CLASSPATH to allow aMicrometerMetricsCaptorbean. -
Constructor Summary
Constructors Constructor Description MicrometerMetricsCaptorConfiguration() -
Method Summary
Modifier and Type Method Description MicrometerMetricsCaptormicrometerMetricsCaptor(ObjectProvider<io.micrometer.core.instrument.MeterRegistry> meterRegistries)
-
Field Details
-
METER_REGISTRY_PRESENT
public static final boolean METER_REGISTRY_PRESENTAbooleanflag to indicate if theio.micrometer.core.instrument.MeterRegistryclass is present in the CLASSPATH to allow aMicrometerMetricsCaptorbean.
-
-
Constructor Details
-
MicrometerMetricsCaptorConfiguration
public MicrometerMetricsCaptorConfiguration()
-
-
Method Details
-
micrometerMetricsCaptor
@Bean(name="integrationMicrometerMetricsCaptor") @Role(2) public MicrometerMetricsCaptor micrometerMetricsCaptor(ObjectProvider<io.micrometer.core.instrument.MeterRegistry> meterRegistries)
-