Class JdbcInstrumenterFactory

java.lang.Object
io.opentelemetry.instrumentation.jdbc.internal.JdbcInstrumenterFactory

public final class JdbcInstrumenterFactory extends Object
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
  • Field Details

  • Method Details

    • captureQueryParameters

      public static boolean captureQueryParameters()
    • createStatementInstrumenter

      public static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<DbRequest,Void> createStatementInstrumenter(io.opentelemetry.api.OpenTelemetry openTelemetry)
    • createStatementInstrumenter

      public static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<DbRequest,Void> createStatementInstrumenter(io.opentelemetry.api.OpenTelemetry openTelemetry, boolean enabled, boolean statementSanitizationEnabled, boolean captureQueryParameters)
    • createStatementInstrumenter

      public static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<DbRequest,Void> createStatementInstrumenter(io.opentelemetry.api.OpenTelemetry openTelemetry, List<io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<DbRequest,Void>> extractors, boolean enabled, boolean statementSanitizationEnabled, boolean captureQueryParameters)
    • createDataSourceInstrumenter

      public static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<DataSource,DbInfo> createDataSourceInstrumenter(io.opentelemetry.api.OpenTelemetry openTelemetry, boolean enabled)
    • createTransactionInstrumenter

      public static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<DbRequest,Void> createTransactionInstrumenter(io.opentelemetry.api.OpenTelemetry openTelemetry)
    • createTransactionInstrumenter

      public static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<DbRequest,Void> createTransactionInstrumenter(io.opentelemetry.api.OpenTelemetry openTelemetry, boolean enabled)
    • createTransactionInstrumenter

      public static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<DbRequest,Void> createTransactionInstrumenter(io.opentelemetry.api.OpenTelemetry openTelemetry, List<io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<DbRequest,Void>> extractors, boolean enabled)