Documentation
¶
Overview ¶
Package tracing provides helpers around the OpenTelemetry tracing API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttributeTracer ¶
AttributeTracer wraps a Tracer and adds a fixed set of attributes to every span it starts.
func NewAttributeTracer ¶
func NewAttributeTracer(delegate oteltrace.Tracer, attrs attribute.Set) *AttributeTracer
NewAttributeTracer returns a tracer that starts spans on delegate with attrs set on them.
Click to show internal directories.
Click to hide internal directories.