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
- (::Google::Cloud::Trace::V2::StackTrace::StackFrames) — Stack frames in this stack trace. A maximum of 128 frames are allowed.
#stack_frames=
def stack_frames=(value) -> ::Google::Cloud::Trace::V2::StackTrace::StackFrames
- value (::Google::Cloud::Trace::V2::StackTrace::StackFrames) — Stack frames in this stack trace. A maximum of 128 frames are allowed.
- (::Google::Cloud::Trace::V2::StackTrace::StackFrames) — Stack frames in this stack trace. A maximum of 128 frames are allowed.
#stack_trace_hash_id
def stack_trace_hash_id() -> ::Integer
-
(::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 instackTraceHashId
.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
-
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 instackTraceHashId
.Subsequent spans within the same request can refer to that stack trace by only setting
stackTraceHashId
.
-
(::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 instackTraceHashId
.Subsequent spans within the same request can refer to that stack trace by only setting
stackTraceHashId
.