|
|
|
@ -20,7 +20,7 @@ import java.util.List;
@@ -20,7 +20,7 @@ import java.util.List;
|
|
|
|
|
|
|
|
|
|
import io.micrometer.core.instrument.MeterRegistry; |
|
|
|
|
|
|
|
|
|
import org.springframework.boot.actuate.autoconfigure.metrics.CompositeMeterRegistryAutoConfiguration; |
|
|
|
|
import org.springframework.boot.actuate.autoconfigure.metrics.MeterRegistryAutoConfiguration; |
|
|
|
|
import org.springframework.boot.actuate.autoconfigure.metrics.MetricsAutoConfiguration; |
|
|
|
|
import org.springframework.boot.autoconfigure.AutoConfigureAfter; |
|
|
|
|
import org.springframework.boot.autoconfigure.AutoConfigureBefore; |
|
|
|
@ -43,7 +43,7 @@ import org.springframework.web.reactive.DispatcherHandler;
@@ -43,7 +43,7 @@ import org.springframework.web.reactive.DispatcherHandler;
|
|
|
|
|
@EnableConfigurationProperties(GatewayMetricsProperties.class) |
|
|
|
|
@AutoConfigureBefore(HttpHandlerAutoConfiguration.class) |
|
|
|
|
@AutoConfigureAfter({ MetricsAutoConfiguration.class, |
|
|
|
|
CompositeMeterRegistryAutoConfiguration.class }) |
|
|
|
|
MeterRegistryAutoConfiguration.class }) |
|
|
|
|
@ConditionalOnClass({ DispatcherHandler.class, MeterRegistry.class, |
|
|
|
|
MetricsAutoConfiguration.class }) |
|
|
|
|
public class GatewayMetricsAutoConfiguration { |
|
|
|
|