Google Cloud Trace v1 API - Class Trace (3.2.0)

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.

Inheritance

object > Trace

Namespace

Google.Cloud.Trace.V1

Assembly

Google.Cloud.Trace.V1.dll

Constructors

Trace()

public Trace()

Trace(Trace)

public Trace(Trace other)
Parameter
NameDescription
otherTrace

Properties

ProjectId

public string ProjectId { get; set; }

Project ID of the Cloud project where the trace data is stored.

Property Value
TypeDescription
string

Spans

public RepeatedField<TraceSpan> Spans { get; }

Collection of spans in the trace.

Property Value
TypeDescription
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
TypeDescription
string