Skip to content

Commit

Permalink
Provide TsMetricFilter not Tas
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Hasgul <[email protected]>
  • Loading branch information
jordanhasgul committed Aug 8, 2024
1 parent e55ce62 commit 47d0160
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 47d0160

Please sign in to comment.