entryspans

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NotEntrySpan             = errors.New("span is not an entry span")
	CannotSetTransactionName = errors.New("cannot set transaction, likely due to lambda environment")
)

Functions

func Current

func Current(tid trace.TraceID) (trace.SpanID, bool)

func Delete

func Delete(span sdktrace.ReadOnlySpan) error

func GetTransactionName

func GetTransactionName(tid trace.TraceID) string

func IsEntrySpan

func IsEntrySpan(span sdktrace.ReadOnlySpan) bool

func Push

func Push(span sdktrace.ReadOnlySpan) error

func SetTransactionName

func SetTransactionName(tid trace.TraceID, name string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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