trace

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetTracerProvider

func SetTracerProvider(url string, appName string, env string, rate float64) (func(), error)

SetTracerProvider global trace provider

func SpanID

func SpanID(ctx context.Context) string

SpanID returns a spanid valuer.

func TraceID

func TraceID(ctx context.Context) string

TraceID returns a traceid valuer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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