Class MongoInstrumenterFactory
java.lang.Object
io.opentelemetry.instrumentation.mongo.v3_1.internal.MongoInstrumenterFactory
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
Field Details
-
DEFAULT_MAX_NORMALIZED_QUERY_LENGTH
public static final int DEFAULT_MAX_NORMALIZED_QUERY_LENGTH- See Also:
-
-
Method Details
-
createInstrumenter
-
createInstrumenter
-