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 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(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(ObjectProvider<io.micrometer.core.instrument.MeterRegistry> meterRegistries)
-