Google Cloud Trace v2 API - Class Span.Types.Link (3.4.0)

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

Reference documentation and code samples for the Google Cloud Trace v2 API class Span.Types.Link.

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
otherSpanTypesLink

Properties

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

A set of attributes on the link. Up to 32 attributes can be specified per link.

Property Value
TypeDescription
SpanTypesAttributes
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
SpanTypesLinkTypesType