public sealed class Trace : IMessage<Trace>, IEquatable<Trace>, IDeepCloneable<Trace>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Trace v1 API class Trace.
A trace describes how long it takes for an application to perform an operation. It consists of a set of spans, each of which represent a single timed event within the operation.
Namespace
Google.Cloud.Trace.V1Assembly
Google.Cloud.Trace.V1.dll
Constructors
Trace()
public Trace()
Trace(Trace)
public Trace(Trace other)
Parameter | |
---|---|
Name | Description |
other |
Trace |
Properties
ProjectId
public string ProjectId { get; set; }
Project ID of the Cloud project where the trace data is stored.
Property Value | |
---|---|
Type | Description |
string |
Spans
public RepeatedField<TraceSpan> Spans { get; }
Collection of spans in the trace.
Property Value | |
---|---|
Type | Description |
RepeatedFieldTraceSpan |
TraceId
public string TraceId { get; set; }
Globally unique identifier for the trace. This identifier is a 128-bit
numeric value formatted as a 32-byte hex string. For example,
382d4f4c6b7bb2f4a972559d9085001d
.
Property Value | |
---|---|
Type | Description |
string |