Struct TelemetryRecord
遥测记录行(定长二进制布局——小端;[BinaryLayout] 源生成 TelemetryRecordCodec)。
内容载荷在 Payloads(变长部分不入定长行——嵌套布局只收定长字段)。
[BinaryLayout(Features = BinaryLayoutFeatures.StructSize)]
public readonly struct TelemetryRecord
- Inherited Members
Constructors
TelemetryRecord(byte, byte, long, ulong)
构造一行记录(字段与显式布局一一对应)。
public TelemetryRecord(byte kind, byte severity, long timestampUtcTicks, ulong sequence)
Parameters
Fields
Kind
记录种类(CellTelemetryKinds——log/metric/span)。
public readonly byte Kind
Field Value
Sequence
容器内单调序号(批次间连续性=丢失检测依据)。
public readonly ulong Sequence
Field Value
Severity
档位(0–7;语义随种类——log 级别/metric 权重,Cell 不解释)。
public readonly byte Severity
Field Value
TimestampUtcTicks
时间戳(DateTime.UtcTicks——容器侧时钟)。
public readonly long TimestampUtcTicks