Class TraceServiceGrpc.TraceServiceBlockingStub (2.4.0)

public static final class TraceServiceGrpc.TraceServiceBlockingStub extends AbstractBlockingStub<TraceServiceGrpc.TraceServiceBlockingStub>

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.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > TraceServiceGrpc.TraceServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected TraceServiceGrpc.TraceServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
TraceServiceGrpc.TraceServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getTrace(GetTraceRequest request)

public Trace getTrace(GetTraceRequest request)

Gets a single trace by its ID.

Parameter
NameDescription
requestGetTraceRequest
Returns
TypeDescription
Trace

listTraces(ListTracesRequest request)

public ListTracesResponse listTraces(ListTracesRequest request)

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

Parameter
NameDescription
requestListTracesRequest
Returns
TypeDescription
ListTracesResponse

patchTraces(PatchTracesRequest request)

public Empty patchTraces(PatchTracesRequest request)

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.

Parameter
NameDescription
requestPatchTracesRequest
Returns
TypeDescription
Empty