Documentation ¶
Overview ¶
Package sqlx provides functions to trace the jmoiron/sqlx package (https://github.com/jmoiron/sqlx). To enable tracing, first use one of the "Register*" functions to register the sql driver that you will be using, then continue using the package as you normally would.
For more information on registering and why this needs to happen, please check the github.com/DataDog/dd-trace-go/contrib/database/sql package.
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶ added in v1.0.0
Connect connects to the data source using the given driver. To get tracing, the driver must be formerly registered using the database/sql integration's Register.
func MustConnect ¶ added in v1.0.0
MustConnect connects to a database and panics on error. To get tracing, the driver must be formerly registered using the database/sql integration's Register.
Types ¶
This section is empty.