Class StackTrace

A call stack appearing in a trace.

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

Inheritance

builtins.object > proto.message.Message > StackTrace

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.