Skip to content

simplesurance/sqltracing

Repository files navigation

sqltracing

CI Go Report Card GoDoc

sqltracing is a Go package for tracing database operations via an OpenTracing tracer. It can wrap any driver.Driver compatible SQL driver.

It is implemented as an interceptor for simplesurance/sqlmw.

Documentation

Go Package Documentation

Example

See example_test.go

Known Issues

  • Transactions: all operations on transactions except Commit() and Rollback() are recorded as independent spans, instead of as child spans of the BeginTx() operation

Credits

sqltracing and simplesurance/sqlmw are based heavily on forks and the ideas of the following projects:

About

Go SQL-Driver wrapper to trace operations via OpenTracing

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages