Add supportability metric for nrmongo package.
@@ -33,9 +33,12 @@ import (
"sync"
newrelic "github.com/newrelic/go-agent"
+ "github.com/newrelic/go-agent/internal"
"go.mongodb.org/mongo-driver/event"
)
+func init() { internal.TrackUsage("integration", "datastore", "mongo") }
+
type mongoMonitor struct {
segmentMap map[int64]*newrelic.DatastoreSegment
origCommMon *event.CommandMonitor
