{"repo":"nhatthm/otelsql","free":true,"listed":false,"github":"https://github.com/nhatthm/otelsql","clone":"git clone https://github.com/nhatthm/otelsql.git","description":"OpenTelemetry SQL database driver wrapper for Go","language":"Go","stars":126,"topics":["go","golang","opencensus","opentelemetry","opentracing","tracing","metrics","database","sql","mysql"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"OpenTelemetry SQL database driver wrapper for Go Add a OpenTelemetry wrapper to your existing database code to instrument the interactions with the database. The wrapper supports both traces and metrics. Table of Contents - Prerequisites - Install - Usage - Options - Extras - Span Name Formatter - Convert Error to Span Status - Trace Query - AllowRoot() and Span Context - jmoiron/sqlx - Metrics - Client - Database Connection - Traces - Migration from ocsql - Options - Metrics - Traces - Compatibility Prerequisites - Go = 1.24 [ [table of contents] ](#table-of-contents) Install ⚠️ From v0.5.0 , the project is rebranded to go.nhat.io/otelsql . v0.4.x is the last version with github.com/nhatthm/otelsql . Compatibility otelsql go.opentelemetry.io/otel/trace go.opentelemetry.io/otel/metric :---------------------------: :--------------------------------: :---------------------------------: v0.15. &nbsp; v1.33.0 latest v1.33.0 latest v0.14. &nbsp; v1.30.0 latest v1.30.0 latest v0.13. &nbsp; v1.24.0 latest v1.24.0 latest v0.12. &nbsp; v1.17.0 latest v0.40.0 latest v0.11. &nbsp; v1.16.0 latest v0.39.0 latest v0.10. &nbsp; v1.15.0 latest v0.38. v0.9. &nbsp; v1.14.0 latest v0.37. v0.8. &nbsp; v1.12.0 latest v0.35.0 v0.36. v0.7. &nbsp; v1.11.1 latest v0.33.0 v0.34. v0.6. &nbsp; v1.10.0 latest v0.32. v0.5. &nbsp; v1.10.0 latest v0.31. v0.4. 1 v1.9.0 latest v0.31. v0.3. 1 v1.7.0 latest v0.28.0 v0.30. v0.2. 1 v1.6.2 latest v0.28.0 v0.30. v0.1. 1 v1.4.1 latest v0.26.0 v0.27. 1 Old versions w","default_branch":null,"files":null,"tree":[],"storefront":"/r/nhatthm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nhatthm/otelsql/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}