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

Function ExtractSpan

tracing/span.go:53–75  ·  view source on GitHub ↗

ExtractSpan retrieves an opentracing span context from the given context.Context The span context can be received directly (inside the context) or via an RPC call (encoded in binary format)

(ctx context.Context)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

ExtractSpanFunction · 0.92
StartSpanFromRequestFunction · 0.92
CallMethod · 0.92
CallMethod · 0.92
TestExtractSpanFunction · 0.70
TestExtractSpanNoSpanFunction · 0.70

Calls 1

castValueToCarrierFunction · 0.85

Tested by 4

TestExtractSpanFunction · 0.56
TestExtractSpanNoSpanFunction · 0.56