tracing

package
v0.0.0-...-047e020 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractTraceFromAMQP

func ExtractTraceFromAMQP(headers map[string]string) (opentracing.SpanContext, error)

ExtractTraceFromAMQP extracts tracing information from AMQP headers.

func InitJaeger

func InitJaeger(service string) (opentracing.Tracer, io.Closer, error)

InitJaeger initializes the Jaeger Tracer.

func InjectTraceToAMQP

func InjectTraceToAMQP(span opentracing.Span) map[string]string

InjectTraceToAMQP injects tracing information into AMQP headers.

func StartSpanFromContext

func StartSpanFromContext(ctx context.Context, operationName string, traceID string) (opentracing.Span, context.Context)

StartSpanFromContext starts a new span from the provided context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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