def TracePlan.generation

bend-trace-context@0.2.0.0 · trace_context.bend:1397

import bend-trace-context@0.2.0.0/trace_context.bend as TraceContext
import Base

1397# The generation of the new trace of a plan: at most 48 words, eight trace ID
1398# candidates of four words and eight span ID candidates of two.
1399def TracePlan.generation(plan: TracePlan) -> Generation:
1400  Generation{48n, TracePlan.draw(plan)}

Uses (3)

Used by (2)