Stackdriver Trace Client - Class Grpc (1.5.3)

Reference documentation and code samples for the Stackdriver Trace Client class Grpc.

Implementation of the Google Trace gRPC API.

Methods

__construct

Parameter
NameDescription
config array

[optional] Configuration options. Please see {@see \Google\Cloud\Trace\Connection\Google\Cloud\Core\GrpcRequestWrapper::__construct()} for the available options.

traceBatchWrite

Sends new spans to new or existing traces. You cannot update existing spans.

Parameters
NameDescription
args array

Batch write params.

↳ projectsId string

The ID of the Google Cloud Project

↳ spans array

Array of associative array span data. See Google\Cloud\Trace\Connection\Google\Cloud\Trace\Span::info() for format.

traceSpanCreate

Parameter
NameDescription
args array