Cloud Trace V2 API - Class Google::Cloud::Trace::V2::Span::Link (v0.5.0)

Reference documentation and code samples for the Cloud Trace V2 API class Google::Cloud::Trace::V2::Span::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

def attributes() -> ::Google::Cloud::Trace::V2::Span::Attributes
Returns
def attributes=(value) -> ::Google::Cloud::Trace::V2::Span::Attributes
Parameter
Returns
def span_id() -> ::String
Returns
  • (::String) — The [SPAN_ID] for a span within a trace.
def span_id=(value) -> ::String
Parameter
  • value (::String) — The [SPAN_ID] for a span within a trace.
Returns
  • (::String) — The [SPAN_ID] for a span within a trace.
def trace_id() -> ::String
Returns
  • (::String) — The [TRACE_ID] for a trace within a project.
def trace_id=(value) -> ::String
Parameter
  • value (::String) — The [TRACE_ID] for a trace within a project.
Returns
  • (::String) — The [TRACE_ID] for a trace within a project.
def type() -> ::Google::Cloud::Trace::V2::Span::Link::Type
Returns
def type=(value) -> ::Google::Cloud::Trace::V2::Span::Link::Type
Parameter
Returns