package
Version:
v0.0.0-...-e7509a3
Opens a new window with list of versions in this module.
Published: Nov 22, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package tracing contains helper for reporting OpenTelemetry tracing spans.
End records the error (if any) and closes the span.
Start opens a tracing span.
Finish it with End, usually like this:
ctx, span := tracing.Start(ctx, "..."")
defer func() { tracing.End(span, err) }()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.