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
  • Field Details

    • METER_REGISTRY_PRESENT

      public static final boolean METER_REGISTRY_PRESENT
      A boolean flag to indicate if the io.micrometer.core.instrument.MeterRegistry class is present in the CLASSPATH to allow a MicrometerMetricsCaptor 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)