bunotel

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TraceSeverity = "TRACE"
	DebugSeverity = "DEBUG"
	InfoSeverity  = "INFO"
	WarnSeverity  = "WARN"
	ErrorSeverity = "ERROR"
	FatalSeverity = "FATAL"
	PanicSeverity = "PANIC"
)

Variables

View Source
var (
	Meter  = otel.Meter("github.com/uptrace/uptrace")
	Tracer = otel.Tracer("github.com/uptrace/uptrace")
)

Functions

func ProjectIDAttr

func ProjectIDAttr(projectID uint32) attribute.KeyValue

func RunWithNewRoot

func RunWithNewRoot(ctx context.Context, name string, fn func(context.Context) error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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