traceSampled property

  1. @TagNumber(30)
bool get traceSampled

Optional. The sampling decision of the trace associated with the log entry.

True means that the trace resource name in the trace field was sampled for storage in a trace backend. False means that the trace was not sampled for storage when this log entry was written, or the sampling decision was unknown at the time. A non-sampled trace value is still useful as a request correlation identifier. The default is False.

Implementation

@$pb.TagNumber(30)
$core.bool get traceSampled => $_getBF(15);
  1. @TagNumber(30)
set traceSampled (bool v)

Implementation

@$pb.TagNumber(30)
set traceSampled($core.bool v) {
  $_setBool(15, v);
}