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