sampled property

bool sampled
final

Whether this trace is being recorded.

Sampling is decided once at the root and inherited, so a trace is never half-recorded — a partial tree is worse than no tree, because it looks complete.

Implementation

final bool sampled;