Class MongoInstrumenterFactory

java.lang.Object
io.opentelemetry.instrumentation.mongo.v3_1.internal.MongoInstrumenterFactory

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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<com.mongodb.event.CommandStartedEvent,Void>
    createInstrumenter(io.opentelemetry.api.OpenTelemetry openTelemetry, String instrumentationName, boolean statementSanitizationEnabled)
     
    static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<com.mongodb.event.CommandStartedEvent,Void>
    createInstrumenter(io.opentelemetry.api.OpenTelemetry openTelemetry, String instrumentationName, boolean statementSanitizationEnabled, int maxNormalizedQueryLength)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DEFAULT_MAX_NORMALIZED_QUERY_LENGTH

      public static final int DEFAULT_MAX_NORMALIZED_QUERY_LENGTH
      See Also:
  • Method Details

    • createInstrumenter

      public static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<com.mongodb.event.CommandStartedEvent,Void> createInstrumenter(io.opentelemetry.api.OpenTelemetry openTelemetry, String instrumentationName, boolean statementSanitizationEnabled)
    • createInstrumenter

      public static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<com.mongodb.event.CommandStartedEvent,Void> createInstrumenter(io.opentelemetry.api.OpenTelemetry openTelemetry, String instrumentationName, boolean statementSanitizationEnabled, int maxNormalizedQueryLength)