Categorygithub.com/tulip/opentelemetry-go-contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo
modulepackage
0.48.0
Repository: https://github.com/tulip/opentelemetry-go-contrib.git
Documentation: pkg.go.dev

# 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.
WithFilteredOperations adds a list of operations to be filtered out from tracing.
WithTracerProvider specifies a tracer provider to use for creating a tracer.

# Constants

ScopeName is the instrumentation scope name.

# Interfaces

Option specifies instrumentation configuration options.