opentracing

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AMQPToContextFabric

func AMQPToContextFabric(tracer opentracing.Tracer) func(string) amqp.DeliveryBefore

AMQPToContextFabric return function that writes to context event's span.

Example: tracer := ... fabric := amqpOpentracing.AMQPToContextFabric(tracer) client.Subscriber(amqp.SubscriberDeliverBefore(fabric("CreateComment"))

func ContextToAMQP

func ContextToAMQP(tracer opentracing.Tracer) amqp.PublishingBefore

ContextToAMQP injects span to AMQP headers section.

Types

This section is empty.

Jump to

Keyboard shortcuts

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