class TraceServiceGrpcClient extends BaseStub

This file describes an API for collecting and viewing traces and spans within a trace. A Trace is a collection of spans corresponding to a single operation or set of operations for an application. A span is an individual timed event which forms a node of the trace tree. Spans for a single trace may span multiple services.

Methods

__construct(string $hostname, array $opts, Channel $channel = null)

No description

ListTraces(ListTracesRequest $argument, array $metadata = [], array $options = [])

Returns of a list of traces that match the specified filter conditions.

GetTrace(GetTraceRequest $argument, array $metadata = [], array $options = [])

Gets a single trace by its ID.

PatchTraces(PatchTracesRequest $argument, array $metadata = [], array $options = [])

Sends new traces to Stackdriver Trace or updates existing traces. If the ID of a trace that you send matches that of an existing trace, any fields in the existing trace and its spans are overwritten by the provided values, and any new fields provided are merged with the existing trace data. If the ID does not match, a new trace is created.

Details

at line 35
__construct(string $hostname, array $opts, Channel $channel = null)

Parameters

string $hostname hostname
array $opts channel options
Channel $channel (optional) re-use channel object

at line 45
ListTraces(ListTracesRequest $argument, array $metadata = [], array $options = [])

Returns of a list of traces that match the specified filter conditions.

Parameters

ListTracesRequest $argument input argument
array $metadata metadata
array $options call options

at line 59
GetTrace(GetTraceRequest $argument, array $metadata = [], array $options = [])

Gets a single trace by its ID.

Parameters

GetTraceRequest $argument input argument
array $metadata metadata
array $options call options

at line 77
PatchTraces(PatchTracesRequest $argument, array $metadata = [], array $options = [])

Sends new traces to Stackdriver Trace or updates existing traces. If the ID of a trace that you send matches that of an existing trace, any fields in the existing trace and its spans are overwritten by the provided values, and any new fields provided are merged with the existing trace data. If the ID does not match, a new trace is created.

Parameters

PatchTracesRequest $argument input argument
array $metadata metadata
array $options call options