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.
  • 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 querySanitizationEnabled)
     
    static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<com.mongodb.event.CommandStartedEvent,Void>
    createInstrumenter(io.opentelemetry.api.OpenTelemetry openTelemetry, String instrumentationName, boolean querySanitizationEnabled, int maxNormalizedQueryLength)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 querySanitizationEnabled)
    • createInstrumenter

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