package
0.7.2
Repository: https://github.com/donetkit/contrib.git
Documentation: pkg.go.dev

# Functions

Open is a wrapper over sql.Open that instruments the sql.DB to record executed queries using OpenTelemetry API.
OpenDB is a wrapper over sql.OpenDB that instruments the sql.DB to record executed queries using OpenTelemetry API.
ReportDBStatsMetrics reports DBStats metrics using OpenTelemetry Metrics API.
WithAttributes configures attributes that are used to create a span.
WithDBName configures a db.name attribute.
WithDBSystem configures a db.system attribute.
WithMeterProvider configures a metric.Meter used to create instruments.
WithQueryFormatter configures a query formatter.
WithTracerProvider configures a tracer provider that is used to create a tracer.

# Type aliases

No description provided by the author