Trace
class Trace extends Message
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.
Protobuf type Google\Devtools\Cloudtrace\V1\Trace
Methods
No description
Project ID of the Cloud project where the trace data is stored.
Project ID of the Cloud project where the trace data is stored.
Globally unique identifier for the trace. This identifier is a 128-bit numeric value formatted as a 32-byte hex string.
Globally unique identifier for the trace. This identifier is a 128-bit numeric value formatted as a 32-byte hex string.
Collection of spans in the trace.
Collection of spans in the trace.
Details
at line 40
__construct()
at line 51
string
getProjectId()
Project ID of the Cloud project where the trace data is stored.
Generated from protobuf field string project_id = 1;
at line 62
setProjectId(string $var)
Project ID of the Cloud project where the trace data is stored.
Generated from protobuf field string project_id = 1;
at line 75
string
getTraceId()
Globally unique identifier for the trace. This identifier is a 128-bit numeric value formatted as a 32-byte hex string.
Generated from protobuf field string trace_id = 2;
at line 87
setTraceId(string $var)
Globally unique identifier for the trace. This identifier is a 128-bit numeric value formatted as a 32-byte hex string.
Generated from protobuf field string trace_id = 2;
at line 99
RepeatedField
getSpans()
Collection of spans in the trace.
Generated from protobuf field repeated .google.devtools.cloudtrace.v1.TraceSpan spans = 3;
at line 110
setSpans(array|RepeatedField $var)
Collection of spans in the trace.
Generated from protobuf field repeated .google.devtools.cloudtrace.v1.TraceSpan spans = 3;