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

OpenTelemetry.Proto.Trace.V1.ResourceSpans

sealed class ResourceSpans : IMessage<ResourceSpans>, IMessage, IEquatable<ResourceSpans>, IDeepCloneable<ResourceSpans>, IBufferMessage
A collection of ScopeSpans from a Resource.
public const int ResourceFieldNumber = 1

Field number for the "resource" field.

public const int SchemaUrlFieldNumber = 3

Field number for the "schema_url" field.

public const int ScopeSpansFieldNumber = 2

Field number for the "scope_spans" field.

public static MessageDescriptor Descriptor { get; }

public static MessageParser<ResourceSpans> Parser { get; }

public Resource Resource { get; set; }

The resource for the spans in this message. If this field is not set then no resource info is known.

public string SchemaUrl { get; set; }

The Schema URL, if known. This is the identifier of the Schema that the resource data is recorded in. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to the data in the "resource" field. It does not apply to the data in the "scope_spans" field which have their own schema_url field.

public RepeatedField<ScopeSpans> ScopeSpans { get; }

A list of ScopeSpans that originate from a resource.

public ResourceSpans()

public int CalculateSize()

public bool Equals(ResourceSpans other)

public void MergeFrom(ResourceSpans other)

public void MergeFrom(CodedInputStream input)

public void WriteTo(CodedOutputStream output)