spanId property

  1. @TagNumber(2)
List<int> get spanId

A unique identifier for a span within a trace, assigned when the span is created. The ID is an 8-byte array. An ID with all zeroes OR of length other than 8 bytes is considered invalid (empty string in OTLP/JSON is zero-length and thus is also invalid).

This field is required.

Implementation

@$pb.TagNumber(2)
$core.List<$core.int> get spanId => $_getN(1);
  1. @TagNumber(2)
set spanId (List<int> v)

Implementation

@$pb.TagNumber(2)
set spanId($core.List<$core.int> v) { $_setBytes(1, v); }