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.
Implements
IMessageStackTrace, IEquatableStackTrace, IDeepCloneableStackTrace, IBufferMessage, IMessageNamespace
Google.Cloud.Trace.V2Assembly
Google.Cloud.Trace.V2.dll
Constructors
StackTrace()
public StackTrace()
StackTrace(StackTrace)
public StackTrace(StackTrace other)
Parameter | |
---|---|
Name | Description |
other |
StackTrace |
Properties
StackFrames
public StackTrace.Types.StackFrames StackFrames { get; set; }
Stack frames in this stack trace. A maximum of 128 frames are allowed.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
long |