MCPcopy Create free account
hub / github.com/bytemode/pitaya-notes / StartSpan

Function StartSpan

tracing/span.go:95–107  ·  view source on GitHub ↗

StartSpan starts a new span with a given parent context, operation name, tags and optional parent span. It returns a context with the created span.

(
	parentCtx context.Context,
	opName string,
	tags opentracing.Tags,
	reference ...opentracing.SpanContext,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

processMessageMethod · 0.92
StartSpanFromRequestFunction · 0.92
CallMethod · 0.92
CallMethod · 0.92
TestStartSpanFunction · 0.85
TestFinishSpanWithErrFunction · 0.85
TestFinishSpanFunction · 0.85

Calls

no outgoing calls

Tested by 3

TestStartSpanFunction · 0.68
TestFinishSpanWithErrFunction · 0.68
TestFinishSpanFunction · 0.68