tracing

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTracer

func GetTracer(components ...string) string

func WithSpan

func WithSpan[R any](
	ctx context.Context,
	tracerName string,
	spanName string,
	block func(context.Context, trace.Span) (R, error),
) (r R, err error)

func WithSpan1

func WithSpan1[R any](
	ctx context.Context,
	tracerName string,
	spanName string,
	block func(context.Context, trace.Span) R,
) (r R)

func WithSpan3

func WithSpan3[R1 any, R2 any](
	ctx context.Context,
	tracerName string,
	spanName string,
	block func(context.Context, trace.Span) (R1, R2, error),
) (r1 R1, r2 R2, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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