From 47d0160e3e4870ea6279344f22b4ba46c53c96c7 Mon Sep 17 00:00:00 2001 From: Jordan Hasgul Date: Thu, 8 Aug 2024 16:52:16 +0800 Subject: [PATCH] Provide TsMetricFilter not Tas Signed-off-by: Jordan Hasgul --- .../common/entrypoints/EntryPointsAutoConfiguration.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tw-entrypoints-starter/src/main/java/com/transferwise/common/entrypoints/EntryPointsAutoConfiguration.java b/tw-entrypoints-starter/src/main/java/com/transferwise/common/entrypoints/EntryPointsAutoConfiguration.java index b7c983b..f808502 100644 --- a/tw-entrypoints-starter/src/main/java/com/transferwise/common/entrypoints/EntryPointsAutoConfiguration.java +++ b/tw-entrypoints-starter/src/main/java/com/transferwise/common/entrypoints/EntryPointsAutoConfiguration.java @@ -19,6 +19,7 @@ import com.transferwise.common.entrypoints.tableaccessstatistics.TasQueryParsingInterceptor; import com.transferwise.common.entrypoints.tableaccessstatistics.TasQueryParsingListener; import com.transferwise.common.entrypoints.transactionstatistics.TransactionStatisticsBeanPostProcessor; +import com.transferwise.common.entrypoints.transactionstatistics.TsMeterFilter; import io.micrometer.core.instrument.MeterRegistry; import io.micrometer.core.instrument.config.MeterFilter; import org.springframework.beans.factory.BeanFactory; @@ -121,7 +122,7 @@ public static TransactionStatisticsBeanPostProcessor twEntryPointsTransactionSta @Bean @ConditionalOnProperty(name = "tw-entrypoints.ts.enabled", havingValue = "true", matchIfMissing = true) public static MeterFilter twEntryPointsTransactionStatisticsMetricsFilter() { - return new TasMeterFilter(); + return new TsMeterFilter(); } @Bean