Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartCustomSpan ¶
func StartCustomSpan( ctx context.Context, kind trace.SpanKind, pkgName, methodName string, ) (context.Context, trace.Span)
StartCustomSpan returns a span from the context.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider is a wrapper around the OpenTelemetry tracer provider.
func NewProvider ¶
NewProvider creates a new tracing provider.
Click to show internal directories.
Click to hide internal directories.