package
1.20.1
Repository: https://github.com/phoenix2x/dd-trace-go.git
Documentation: pkg.go.dev

# Functions

Open returns connection to a DB using a the traced version of the given driver.
OpenDB returns connection to a DB using a the traced version of the given driver.
Register tells the sql integration package about the driver that we will be tracing.
WithAnalytics enables Trace Analytics for all started spans.
WithAnalyticsRate sets the sampling rate for Trace Analytics events correlated to started spans.
WithDSN allows the data source name (DSN) to be provided when using OpenDB and a driver.Connector.
WithServiceName sets the given service name when registering a driver, or opening a database connection.
WithSpanTags creates a new context containing the given set of tags.

# Type aliases

Option represents an option that can be passed to Register, Open or OpenDB.
RegisterOption has been deprecated in favor of Option.