package
1.23.0-rc.1
Repository: https://github.com/seatgeek/dd-trace-go.git
Documentation: pkg.go.dev

# Functions

Dial opens a connection to a MongoDB server and configures it for tracing.
WithAnalytics enables Trace Analytics for all started spans.
WithAnalyticsRate sets the sampling rate for Trace Analytics events correlated to started spans.
WithContext sets the context.
WithServiceName sets the service name for a given MongoDB context.

# Structs

Bulk is an mgo.Bulk instance that will be traced.
Collection provides a mgo.Collection along with data used for APM Tracing.
Database is an mgo.Database along with the data necessary for tracing.
Iter is an mgo.Iter instance that will be traced.
Pipe is an mgo.Pipe instance along with the data necessary for tracing.
Query is an mgo.Query instance along with the data necessary for tracing.
Session is an mgo.Session instance that will be traced.

# Type aliases

DialOption represents an option that can be passed to Dial.