Cloud Trace V2 API - Class Google::Cloud::Trace::V2::StackTrace (v0.3.5)

Reference documentation and code samples for the Cloud Trace V2 API class Google::Cloud::Trace::V2::StackTrace.

A call stack appearing in a trace.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#stack_frames

def stack_frames() -> ::Google::Cloud::Trace::V2::StackTrace::StackFrames
Returns

#stack_frames=

def stack_frames=(value) -> ::Google::Cloud::Trace::V2::StackTrace::StackFrames
Parameter
Returns

#stack_trace_hash_id

def stack_trace_hash_id() -> ::Integer
Returns
  • (::Integer) — The hash ID is used to conserve network bandwidth for duplicate stack traces within a single trace.

    Often multiple spans will have identical stack traces. The first occurrence of a stack trace should contain both the stackFrame content and a value in stackTraceHashId.

    Subsequent spans within the same request can refer to that stack trace by only setting stackTraceHashId.

#stack_trace_hash_id=

def stack_trace_hash_id=(value) -> ::Integer
Parameter
  • value (::Integer) — The hash ID is used to conserve network bandwidth for duplicate stack traces within a single trace.

    Often multiple spans will have identical stack traces. The first occurrence of a stack trace should contain both the stackFrame content and a value in stackTraceHashId.

    Subsequent spans within the same request can refer to that stack trace by only setting stackTraceHashId.

Returns
  • (::Integer) — The hash ID is used to conserve network bandwidth for duplicate stack traces within a single trace.

    Often multiple spans will have identical stack traces. The first occurrence of a stack trace should contain both the stackFrame content and a value in stackTraceHashId.

    Subsequent spans within the same request can refer to that stack trace by only setting stackTraceHashId.