tracing

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitOLTPTracer

func InitOLTPTracer(serviceName, otelAgentAddr string) (func(ctx context.Context) error, error)

InitOLTPTracer Initializes an OTLP exporter, and configures the corresponding trace

func Middleware

func Middleware(tracer trace.Tracer, logger *logrus.Entry) func(next http.Handler) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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