traceutil

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package traceutil provides utilities for OpenTelemetry trace spans.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SpanError

func SpanError(span trace.Span, err error)

SpanError records the error on the span and sets the span status to Error. If err is nil, it does nothing.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL