OpenTelemetry.Proto.Trace.V1.Span
sealed class Span : IMessage<Span>, IMessage, IEquatable<Span>, IDeepCloneable<Span>, IBufferMessage
A Span represents a single operation performed by a single component of the system.
The next available field id is 17.
namespace OpenTelemetry.Proto.Trace.V1
{
internal sealed class Span : IEquatable<Span>
{
public static class Types
{
public enum SpanKind
{
[OriginalName("SPAN_KIND_UNSPECIFIED")]
Unspecified,
[OriginalName("SPAN_KIND_INTERNAL")]
Internal,
[OriginalName("SPAN_KIND_SERVER")]
Server,
[OriginalName("SPAN_KIND_CLIENT")]
Client,
[OriginalName("SPAN_KIND_PRODUCER")]
Producer,
[OriginalName("SPAN_KIND_CONSUMER")]
Consumer
}
public sealed class Event : IEquatable<Event>
{
public const int TimeUnixNanoFieldNumber = 1;
public const int NameFieldNumber = 2;
public const int AttributesFieldNumber = 3;
public const int DroppedAttributesCountFieldNumber = 4;
public static MessageParser<Event> Parser { get; }
public static MessageDescriptor Descriptor { get; }
MessageDescriptor Descriptor { get; }
public ulong TimeUnixNano { get; set; }
public string Name { get; set; }
public RepeatedField<KeyValue> Attributes { get; }
public uint DroppedAttributesCount { get; set; }
public Event();
public Event(Event other);
public Event Clone();
public bool Equals(Event other);
public void WriteTo(CodedOutputStream output);
void InternalWriteTo(ref WriteContext output);
public int CalculateSize();
public void MergeFrom(Event other);
public void MergeFrom(CodedInputStream input);
void InternalMergeFrom(ref ParseContext input);
}
public sealed class Link : IEquatable<Link>
{
public const int TraceIdFieldNumber = 1;
public const int SpanIdFieldNumber = 2;
public const int TraceStateFieldNumber = 3;
public const int AttributesFieldNumber = 4;
public const int DroppedAttributesCountFieldNumber = 5;
public const int FlagsFieldNumber = 6;
public static MessageParser<Link> Parser { get; }
public static MessageDescriptor Descriptor { get; }
MessageDescriptor Descriptor { get; }
public ByteString TraceId { get; set; }
public ByteString SpanId { get; set; }
public string TraceState { get; set; }
public RepeatedField<KeyValue> Attributes { get; }
public uint DroppedAttributesCount { get; set; }
public uint Flags { get; set; }
public Link();
public Link(Link other);
public Link Clone();
public bool Equals(Link other);
public void WriteTo(CodedOutputStream output);
void InternalWriteTo(ref WriteContext output);
public int CalculateSize();
public void MergeFrom(Link other);
public void MergeFrom(CodedInputStream input);
void InternalMergeFrom(ref ParseContext input);
}
}
public const int TraceIdFieldNumber = 1;
public const int SpanIdFieldNumber = 2;
public const int TraceStateFieldNumber = 3;
public const int ParentSpanIdFieldNumber = 4;
public const int FlagsFieldNumber = 16;
public const int NameFieldNumber = 5;
public const int KindFieldNumber = 6;
public const int StartTimeUnixNanoFieldNumber = 7;
public const int EndTimeUnixNanoFieldNumber = 8;
public const int AttributesFieldNumber = 9;
public const int DroppedAttributesCountFieldNumber = 10;
public const int EventsFieldNumber = 11;
public const int DroppedEventsCountFieldNumber = 12;
public const int LinksFieldNumber = 13;
public const int DroppedLinksCountFieldNumber = 14;
public const int StatusFieldNumber = 15;
public static MessageParser<Span> Parser { get; }
public static MessageDescriptor Descriptor { get; }
MessageDescriptor Descriptor { get; }
public ByteString TraceId { get; set; }
public ByteString SpanId { get; set; }
public string TraceState { get; set; }
public ByteString ParentSpanId { get; set; }
public uint Flags { get; set; }
public string Name { get; set; }
public Types.SpanKind Kind { get; set; }
public ulong StartTimeUnixNano { get; set; }
public ulong EndTimeUnixNano { get; set; }
public RepeatedField<KeyValue> Attributes { get; }
public uint DroppedAttributesCount { get; set; }
public RepeatedField<Types.Event> Events { get; }
public uint DroppedEventsCount { get; set; }
public RepeatedField<Types.Link> Links { get; }
public uint DroppedLinksCount { get; set; }
public Status Status { get; set; }
public Span();
public Span(Span other);
public Span Clone();
public bool Equals(Span other);
public void WriteTo(CodedOutputStream output);
void InternalWriteTo(ref WriteContext output);
public int CalculateSize();
public void MergeFrom(Span other);
public void MergeFrom(CodedInputStream input);
void InternalMergeFrom(ref ParseContext input);
}
}