envelope

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TraceparentHeader is the standard W3C Trace-Context HTTP
	// header for trace propagation.
	TraceparentHeader = "Traceparent"

	// TracestateHeader is the standard W3C Trace-Context HTTP header
	// for vendor-specific trace propagation.
	TracestateHeader = "Tracestate"
)

Variables

This section is empty.

Functions

func StartTransaction

func StartTransaction(tracer *apm.Tracer, name string, typ string, e messenger.Envelope) *apm.Transaction

StartTransaction start transaction using W3C Trace-Context headers in the envelope

func WithTraceContext

func WithTraceContext(ctx context.Context, e messenger.Envelope) messenger.Envelope

WithTraceContext adds W3C Trace-Context headers from transaction in context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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