Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithTracer ¶
func WithTracer[K comparable, V any](opts ...Option) dataloader.Option[K, V]
WithTracer creates an new dataloader.Option that instruments OpenTelemetry traces.
Types ¶
type Option ¶
type Option func(*config)
func WithTracerProvider ¶
func WithTracerProvider(tp trace.TracerProvider) Option
WithTracerProvider creates an new Option that indicates the tracer to use given tracer provider.
Click to show internal directories.
Click to hide internal directories.