Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.28 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.28 KB

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: