Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware struct {
quark.BaseMiddleware
}
Middleware implements quark.Middleware to provide native OpenTelemetry tracing.
func New ¶
func New() *Middleware
New creates a new OTel middleware for Quark. The tracer is resolved lazily from the global TracerProvider at query-execution time, so the middleware always uses whatever provider is currently registered.
func (*Middleware) WrapQueryRow ¶
func (m *Middleware) WrapQueryRow(next quark.QueryRowFunc) quark.QueryRowFunc
Click to show internal directories.
Click to hide internal directories.