Tapper Plug v0.5.0 API Reference
Modules
Tapper filter plug, to prevent tracing of certain URLs
Decode/Encode B3 headers to/from trace context
Supports encoding and decoding a Tapper trace context in the original
B3 propagation format,
typically represented in HTTP(S) as a set of x-b3-*
headers
B3 Single format allows
the Tapper.Id
trace context to be encoded in a single string value
Behavior for Trace Samplers
Simple sampler; sample x percent of traces
Intercept B3 headers and join a sampled trace, or run a sampler to determine whether to start a new trace
Finishes a trace, if tracing, attaching a ‘server send’ (ss
) annotation to the root span.
Called as call-back function registered with the Plug.Conn