Google Cloud Trace v2 API - Class StackTrace (3.4.0)

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

Reference documentation and code samples for the Google Cloud Trace v2 API class StackTrace.

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
StackTraceTypesStackFrames

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
long