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

# Functions

Open returns connection to a DB using the traced version of the given driver.
OpenDB returns connection to a DB using 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.
WithChildSpansOnly causes spans to be created only when there is an existing parent span in the Context.
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.