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
Modifier and TypeFieldDescriptionstatic final boolean
Aboolean
flag to indicate if theio.micrometer.core.instrument.MeterRegistry
class is present in the CLASSPATH to allow aMicrometerMetricsCaptor
bean. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmicrometerMetricsCaptor
(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)
-