<PackageReference Include="Serilog.Sinks.OpenTelemetry" Version="4.2.0" />

OpenTelemetry.Proto.Trace.V1.TracesData

sealed class TracesData : IMessage<TracesData>, IMessage, IEquatable<TracesData>, IDeepCloneable<TracesData>, IBufferMessage
TracesData represents the traces data that can be stored in a persistent storage, OR can be embedded by other protocols that transfer OTLP traces data but do not implement the OTLP protocol. The main difference between this message and collector protocol is that in this message there will not be any "control" or "metadata" specific to OTLP protocol. When new fields are added into this message, the OTLP request MUST be updated as well.
public const int ResourceSpansFieldNumber = 1

Field number for the "resource_spans" field.

public static MessageDescriptor Descriptor { get; }

public static MessageParser<TracesData> Parser { get; }

public RepeatedField<ResourceSpans> ResourceSpans { get; }

An array of ResourceSpans. For data coming from a single resource this array will typically contain one element. Intermediary nodes that receive data from multiple origins typically batch the data before forwarding further and in that case this array will contain multiple elements.

public TracesData()

public TracesData(TracesData other)

public int CalculateSize()

public TracesData Clone()

public bool Equals(TracesData other)

public void MergeFrom(TracesData other)

public void MergeFrom(CodedInputStream input)

public void WriteTo(CodedOutputStream output)