Class StackTrace (2.2.0)

public sealed class StackTrace : IMessage<StackTrace>, IEquatable<StackTrace>, IDeepCloneable<StackTrace>, IBufferMessage, IMessage

A call stack appearing in a trace.

Inheritance

Object > StackTrace

Namespace

Google.Cloud.Trace.V2

Assembly

Google.Cloud.Trace.V2.dll

Constructors

StackTrace()

public StackTrace()

StackTrace(StackTrace)

public StackTrace(StackTrace other)
Parameter
NameDescription
otherStackTrace

Properties

StackFrames

public StackTrace.Types.StackFrames StackFrames { get; set; }

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

Property Value
TypeDescription
StackTrace.Types.StackFrames

StackTraceHashId

public long StackTraceHashId { get; set; }

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.

Property Value
TypeDescription
Int64