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.
Implements
IMessageSpanTypesLink, IEquatableSpanTypesLink, IDeepCloneableSpanTypesLink, IBufferMessage, IMessageNamespace
Google.Cloud.Trace.V2Assembly
Google.Cloud.Trace.V2.dll
Constructors
Link()
public Link()
Link(Link)
public Link(Span.Types.Link other)
Parameter | |
---|---|
Name | Description |
other | SpanTypesLink |
Properties
Attributes
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 | |
---|---|
Type | Description |
SpanTypesAttributes |
SpanId
public string SpanId { get; set; }
The [SPAN_ID]
for a span within a trace.
Property Value | |
---|---|
Type | Description |
string |
TraceId
public string TraceId { get; set; }
The [TRACE_ID]
for a trace within a project.
Property Value | |
---|---|
Type | Description |
string |
Type
public Span.Types.Link.Types.Type Type { get; set; }
The relationship of the current span relative to the linked span.
Property Value | |
---|---|
Type | Description |
SpanTypesLinkTypesType |