Interface TraceListenerStrategySpanCustomizer<T extends CommonDataSource>

All Known Implementing Classes:
TraceHikariListenerStrategySpanCustomizer

public interface TraceListenerStrategySpanCustomizer<T extends CommonDataSource>
Customizer for TraceListenerStrategy client span.
Since:
3.1.0
Author:
Marcin Grzejszczak
  • Method Details

    • customizeConnectionSpan

      void customizeConnectionSpan(T dataSource, Span.Builder spanBuilder)
      Customizes the client database span.
      Parameters:
      dataSource - data source for which we're building the span
      spanBuilder - span builder
    • isApplicable

      boolean isApplicable(CommonDataSource dataSource)
      Parameters:
      dataSource - data source for which we're building the span
      Returns:
      true when this customizer can be applied