Reference documentation and code samples for the Stackdriver Trace V1 Client 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.
Generated from protobuf message google.devtools.cloudtrace.v1.Trace
Namespace
Google \ Cloud \ Trace \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ project_id
string
Project ID of the Cloud project where the trace data is stored.
↳ trace_id
string
Globally unique identifier for the trace. This identifier is a 128-bit numeric value formatted as a 32-byte hex string. For example, 382d4f4c6b7bb2f4a972559d9085001d
.
↳ spans
getProjectId
Project ID of the Cloud project where the trace data is stored.
string
setProjectId
Project ID of the Cloud project where the trace data is stored.
var
string
$this
getTraceId
Globally unique identifier for the trace. This identifier is a 128-bit
numeric value formatted as a 32-byte hex string. For example, 382d4f4c6b7bb2f4a972559d9085001d
.
string
setTraceId
Globally unique identifier for the trace. This identifier is a 128-bit
numeric value formatted as a 32-byte hex string. For example, 382d4f4c6b7bb2f4a972559d9085001d
.
var
string
$this
getSpans
Collection of spans in the trace.
setSpans
Collection of spans in the trace.
$this

