tracing

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2018 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MachineryTag     = opentracing.Tag{Key: string(opentracing_ext.Component), Value: "machinery"}
	WorkflowGroupTag = opentracing.Tag{Key: "machinery.workflow", Value: "group"}
	WorkflowChordTag = opentracing.Tag{Key: "machinery.workflow", Value: "chord"}
	WorkflowChainTag = opentracing.Tag{Key: "machinery.workflow", Value: "chain"}
)

opentracing tags

Functions

func AnnotateSpanWithChainInfo

func AnnotateSpanWithChainInfo(span opentracing.Span, chain *tasks.Chain)

func AnnotateSpanWithChordInfo

func AnnotateSpanWithChordInfo(span opentracing.Span, chord *tasks.Chord, sendConcurrency int)

func AnnotateSpanWithGroupInfo

func AnnotateSpanWithGroupInfo(span opentracing.Span, group *tasks.Group, sendConcurrency int)

func AnnotateSpanWithSignatureInfo

func AnnotateSpanWithSignatureInfo(span opentracing.Span, signature *tasks.Signature)

func HeadersWithSpan

func HeadersWithSpan(headers tasks.Headers, span opentracing.Span) tasks.Headers

HeadersWithSpan will inject a span into the signature headers

func ProducerOption

func ProducerOption() opentracing.StartSpanOption

func StartSpanFromHeaders

func StartSpanFromHeaders(headers tasks.Headers, operationName string) opentracing.Span

StartSpanFromHeaders will extract a span from the signature headers and start a new span with the given operation name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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