Package org.springframework.cloud.task.configuration

# Class MetricsAutoConfiguration

java.lang.Object
org.springframework.cloud.task.configuration.MetricsAutoConfiguration

@Configuration(proxyBeanMethods=false) @ConditionalOnClass(io.micrometer.core.annotation.Timed.class) @AutoConfigureBefore(name="org.springframework.boot.actuate.autoconfigure.metrics.MetricsAutoConfiguration") public class MetricsAutoConfiguration extends Object
Forked and simplified version of the org.springframework.boot.actuate.autoconfigure.metrics.MetricsAutoConfiguration form spring-boot-actuator `Auto-configuration` for Micrometer-based metrics.

Since:
  2.2
Author:
  Michael Minella

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MetricsAutoConfiguration()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static org.springframework.cloud.task.configuration.MetricsAutoConfiguration.MeterRegistryPostProcessor`
  `meterRegistryPostProcessorFork()`
  `io.micrometer.core.instrument.Clock`
  `micrometerClockFork()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MetricsAutoConfiguration

    public MetricsAutoConfiguration()

- ## Method Details

  - ### micrometerClockFork

    @Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.Clock micrometerClockFork()

  - ### meterRegistryPostProcessorFork

    @Bean public static org.springframework.cloud.task.configuration.MetricsAutoConfiguration.MeterRegistryPostProcessor meterRegistryPostProcessorFork()