traceId property

  1. @TagNumber.new(9)
List<int> get traceId

A unique identifier for a trace. All logs from the same trace share the same trace_id. The ID is a 16-byte array. An ID with all zeroes OR of length other than 16 bytes is considered invalid (empty string in OTLP/JSON is zero-length and thus is also invalid).

This field is optional.

The receivers SHOULD assume that the log record is not associated with a trace if any of the following is true:

  • the field is not present,
  • the field contains an invalid value.

Implementation

@$pb.TagNumber(9)
$core.List<$core.int> get traceId => $_getN(7);
  1. @TagNumber.new(9)
set traceId (List<int> value)

Implementation

@$pb.TagNumber(9)
set traceId($core.List<$core.int> value) => $_setBytes(7, value);