Categorygithub.com/signalfx/splunk-otel-go/instrumentation/github.com/go-sql-driver/mysql/splunkmysql
modulepackage
1.18.0
Repository: https://github.com/signalfx/splunk-otel-go.git
Documentation: pkg.go.dev

# README

Splunk Instrumentation for the MySQL Driver Package

Go Reference

This package instruments the github.com/go-sql-driver/mysql package using the splunksql package.

Getting Started

This package is design to be a drop-in replacement for the existing use of the mysql package. The blank identified imports of that package can be replaced with this package, and the standard library sql.Open function can be replaced with the equivalent Open from splunksql.

An example can be found here.

# Packages

Package test provides end-to-end testing of the splunkmysql instrumentation with the default SDK.

# Functions

DSNParser parses the data source connection name for a connection to a MySQL database using the github.com/go-sql-driver/mysql client package.