Categorygo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo

# Packages

Package test validates the otelmongo instrumentation with the default SDK.

# Functions

NewMonitor creates a new mongodb event CommandMonitor.
SemVersion is the semantic version to be supplied to tracer/meter creation.
Version is the current release version of the mongo-driver instrumentation.
WithCommandAttributeDisabled specifies if the MongoDB command is added as an attribute to Spans or not.
WithTracerProvider specifies a tracer provider to use for creating a tracer.

# Constants

ScopeName is the instrumentation scope name.

# Interfaces

Option specifies instrumentation configuration options.