package logger import ( "go.mongodb.org/mongo-driver/event" "go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo" ) // NewMongoDBMonitor ... func NewMongoDBMonitor(opts ...otelmongo.Option) *event.CommandMonitor { return otelmongo.NewMonitor(opts...) }