Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitTracer ¶
func InitTracer(opts *TracerOpts) (func(context.Context) error, error)
func WithAttributes ¶
func WithAttributes(span trace.Span, attrs ...AttributeKV)
Types ¶
type AttributeKV ¶
type AttributeKV struct { Key AttributeKey Value any }
AttributeKV is a wrapper for otel attributes KV
type AttributeKey ¶
type AttributeKey string
type TracerOpts ¶
Click to show internal directories.
Click to hide internal directories.