traceSampled property

bool? traceSampled
getter/setter pair

The sampling decision of the span associated with the log entry at the time the log entry was created.

This field corresponds to the sampled flag in the W3C trace-context specification (https://www.w3.org/TR/trace-context/#sampled-flag). A non-sampled trace value is still useful as a request correlation identifier. The default is False.

Optional.

Implementation

core.bool? traceSampled;