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

OpenTelemetry.Proto.Trace.V1.ScopeSpans

sealed class ScopeSpans : IMessage<ScopeSpans>, IMessage, IEquatable<ScopeSpans>, IDeepCloneable<ScopeSpans>, IBufferMessage
A collection of Spans produced by an InstrumentationScope.
public const int SchemaUrlFieldNumber = 3

Field number for the "schema_url" field.

public const int ScopeFieldNumber = 1

Field number for the "scope" field.

public const int SpansFieldNumber = 2

Field number for the "spans" field.

public static MessageDescriptor Descriptor { get; }

public static MessageParser<ScopeSpans> Parser { get; }

public string SchemaUrl { get; set; }

The Schema URL, if known. This is the identifier of the Schema that the span 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 all spans and span events in the "spans" field.

public InstrumentationScope Scope { get; set; }

The instrumentation scope information for the spans in this message. Semantically when InstrumentationScope isn't set, it is equivalent with an empty instrumentation scope name (unknown).

public RepeatedField<Span> Spans { get; }

A list of Spans that originate from an instrumentation scope.

public ScopeSpans()

public ScopeSpans(ScopeSpans other)

public int CalculateSize()

public ScopeSpans Clone()

public bool Equals(ScopeSpans other)

public void MergeFrom(ScopeSpans other)

public void MergeFrom(CodedInputStream input)

public void WriteTo(CodedOutputStream output)