Documentation ¶ Index ¶ func RecordError(span trace.Span, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RecordError ¶ func RecordError(span trace.Span, err error) RecordError marks the span as errored and records the error. No-op if err is nil. Call before span.End() so the status is set on the right span lifecycle. Types ¶ This section is empty. Source Files ¶ View all Source files tracing.go Click to show internal directories. Click to hide internal directories.