Class Span.Types.Link (3.0.0)

public sealed class Link : IMessage<Span.Types.Link>, IEquatable<Span.Types.Link>, IDeepCloneable<Span.Types.Link>, IBufferMessage, IMessage

A pointer from the current span to another span in the same trace or in a different trace. For example, this can be used in batching operations, where a single batch handler processes multiple requests from different traces or when the handler receives a request from a different project.

Inheritance

Object > Span.Types.Link

Namespace

Google.Cloud.Trace.V2

Assembly

Google.Cloud.Trace.V2.dll

Constructors

public Link()
public Link(Span.Types.Link other)
Parameter
NameDescription
otherSpan.Types.Link

Properties

public Span.Types.Attributes Attributes { get; set; }

A set of attributes on the link. You have have up to 32 attributes per link.

Property Value
TypeDescription
Span.Types.Attributes
public string SpanId { get; set; }

The [SPAN_ID] for a span within a trace.

Property Value
TypeDescription
String
public string TraceId { get; set; }

The [TRACE_ID] for a trace within a project.

Property Value
TypeDescription
String
public Span.Types.Link.Types.Type Type { get; set; }

The relationship of the current span relative to the linked span.

Property Value
TypeDescription
Span.Types.Link.Types.Type