Class 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
Inherited Members
Namespace: Google.Apis.CloudTrace.v2.Data
Assembly: Google.Apis.CloudTrace.v2.dll
Syntax
public class Link : IDirectResponseSchema
Properties
Attributes
A set of attributes on the link. Up to 32 attributes can be specified per link.
Declaration
[JsonProperty("attributes")]
public virtual Attributes Attributes { get; set; }
Property Value
Type | Description |
---|---|
Attributes |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
SpanId
The [SPAN_ID]
for a span within a trace.
Declaration
[JsonProperty("spanId")]
public virtual string SpanId { get; set; }
Property Value
Type | Description |
---|---|
string |
TraceId
The [TRACE_ID]
for a trace within a project.
Declaration
[JsonProperty("traceId")]
public virtual string TraceId { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
The relationship of the current span relative to the linked span.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |