middleware

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

This section is empty.

Variables

This section is empty.

Functions

func AddTraceContext

func AddTraceContext() messenger.Middleware

AddTraceContext adds W3C Trace-Context headers to the envelope

func StartTransaction

func StartTransaction(tracer *apm.Tracer, name string, typ string) *startTransaction

StartTransaction starts a transaction using W3C Trace-Context headers from the envelope

func WithSpan

func WithSpan(name, typ string) *withSpan

WithSpan wraps context passed to the next middlewares in a span

Types

This section is empty.

Jump to

Keyboard shortcuts

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