Class StackTrace (1.2.0)

StackTrace(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A call stack appearing in a trace. .. attribute:: stack_frames

Stack frames in this stack trace. A maximum of 128 frames are allowed.

:type: google.cloud.trace_v2.types.StackTrace.StackFrames

Attribute

NameDescription
stack_trace_hash_id int
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.

Classes

StackFrame

StackFrame(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a single stack frame in a stack trace. .. attribute:: function_name

The fully-qualified name that uniquely identifies the function or method that is active in this frame (up to 1024 bytes).

:type: google.cloud.trace_v2.types.TruncatableString

StackFrames

StackFrames(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A collection of stack frames, which can be truncated. .. attribute:: frame

Stack frames in this call stack.

:type: Sequence[google.cloud.trace_v2.types.StackTrace.StackFrame]