tracing

package
v0.0.0-...-8922687 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHeaders

func AddHeaders(next http.Handler) http.Handler

AddHeaders is an HTTP middleware to enrich the current span with the request and response headers

func Initialize

func Initialize(ctx context.Context, enable bool) (*trace.TracerProvider, error)

Initialize sets up OpenTelemetry tracing if requested

Types

This section is empty.

Jump to

Keyboard shortcuts

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