Class StackTrace (1.5.1)

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

A call stack appearing in a trace.

Attributes

NameDescription
stack_frames google.cloud.trace_v2.types.StackTrace.StackFrames
Stack frames in this stack trace. A maximum of 128 frames are allowed.
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.

StackFrames

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

A collection of stack frames, which can be truncated.