logger/signoz_monitor.go

12 lines
294 B
Go

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...)
}