class Google::Apis::CloudtraceV2::StackTrace

A call stack appearing in a trace.

Attributes

stack_frames[RW]

A collection of stack frames, which can be truncated. Corresponds to the JSON property `stackFrames` @return [Google::Apis::CloudtraceV2::StackFrames]

stack_trace_hash_id[RW]

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`. Corresponds to the JSON property `stackTraceHashId` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudtrace_v2/classes.rb, line 505
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudtrace_v2/classes.rb, line 510
def update!(**args)
  @stack_frames = args[:stack_frames] if args.key?(:stack_frames)
  @stack_trace_hash_id = args[:stack_trace_hash_id] if args.key?(:stack_trace_hash_id)
end