Documentation ¶
Index ¶
- Variables
- func AnnotateSpanWithChainInfo(ctx context.Context, span trace.Span, chain *tasks.Chain)
- func AnnotateSpanWithChordInfo(ctx context.Context, span trace.Span, chord *tasks.Chord, sendConcurrency int)
- func AnnotateSpanWithGroupInfo(ctx context.Context, span trace.Span, group *tasks.Group, sendConcurrency int)
- func AnnotateSpanWithSignatureInfo(span trace.Span, signature *tasks.Signature)
- func HeadersWithSpan(ctx context.Context, headers http.Header) http.Header
- func StartSpanFromHeaders(ctx context.Context, headers http.Header, operationName string) (_spanCtx context.Context, _span trace.Span)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MachineryTag = attribute.String("component", "machinery") WorkflowGroupTag = attribute.String("machinery.workflow", "group") WorkflowChordTag = attribute.String("machinery.workflow", "chord") WorkflowChainTag = attribute.String("machinery.workflow", "chain") MachineryTraceName = "machinery" )
opentracing tags
Functions ¶
func AnnotateSpanWithChainInfo ¶
AnnotateSpanWithChainInfo ...
func AnnotateSpanWithChordInfo ¶
func AnnotateSpanWithChordInfo(ctx context.Context, span trace.Span, chord *tasks.Chord, sendConcurrency int)
AnnotateSpanWithChordInfo ...
func AnnotateSpanWithGroupInfo ¶
func AnnotateSpanWithGroupInfo(ctx context.Context, span trace.Span, group *tasks.Group, sendConcurrency int)
AnnotateSpanWithGroupInfo ...
func AnnotateSpanWithSignatureInfo ¶
AnnotateSpanWithSignatureInfo ...
func HeadersWithSpan ¶
HeadersWithSpan will inject a span into the signature headers
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.