Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSpan ¶
func AddSpan(ctx context.Context, spanName string, keyValues ...attribute.KeyValue) (context.Context, trace.Span)
AddSpan adds a OpenTelemetry span to the trace and context.
func GetTraceID ¶
GetTraceID returns the trace id from the context.
Types ¶
Click to show internal directories.
Click to hide internal directories.