Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(driverName string, opts ...Option) trace.TracerProvider
New should be used with github.com/XSAM/otelsql, but can be used with any database/sql instrument.
Types ¶
type Option ¶
type Option func(*options)
func WithOperationName ¶
func WithTracerProvider ¶
func WithTracerProvider(tracerProvider trace.TracerProvider) Option
Click to show internal directories.
Click to hide internal directories.