tracing

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BundleSource  = bundleSourceKey.String
	RequestID     = requestIDKey.String
	ReqResourceID = reqResourceIDKey.String
	PolicyFQN     = policyFQNKey.String
	PolicyName    = policyNameKey.String
	PolicyScope   = policyScopeKey.String
	PolicyVersion = policyVersionKey.String
)

Functions

func HTTPHandler added in v0.11.0

func HTTPHandler(handler http.Handler, path string) http.Handler

func MarkFailed

func MarkFailed(span trace.Span, code int, err error)

func StartSpan

func StartSpan(ctx context.Context, name string) (context.Context, trace.Span)

Types

This section is empty.

Jump to

Keyboard shortcuts

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