internal

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FinishSpan

func FinishSpan(ctx context.Context, err error)

FinishSpan finishes an active span found in context, optionally logging an error if it's not nil. This function is a noop if provided context does not contain an active span.

func StartExitSpan

func StartExitSpan(ctx context.Context, op string, opts ...ot.StartSpanOption) context.Context

StartExitSpan starts a new span and injects in into returned context. If provided context already contains an active span, it will be used as a parent.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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