- 2.48.0 (latest)
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.7
- 2.2.0
- 2.1.13
public static final class TraceServiceGrpc.TraceServiceStub extends AbstractAsyncStub<TraceServiceGrpc.TraceServiceStub>
A stub to allow clients to do asynchronous rpc calls to service TraceService.
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.AbstractAsyncStub > TraceServiceGrpc.TraceServiceStubMethods
build(Channel channel, CallOptions callOptions)
protected TraceServiceGrpc.TraceServiceStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
TraceServiceGrpc.TraceServiceStub |
getTrace(GetTraceRequest request, StreamObserver<Trace> responseObserver)
public void getTrace(GetTraceRequest request, StreamObserver<Trace> responseObserver)
Gets a single trace by its ID.
Parameters | |
---|---|
Name | Description |
request |
GetTraceRequest |
responseObserver |
io.grpc.stub.StreamObserver<Trace> |
listTraces(ListTracesRequest request, StreamObserver<ListTracesResponse> responseObserver)
public void listTraces(ListTracesRequest request, StreamObserver<ListTracesResponse> responseObserver)
Returns of a list of traces that match the specified filter conditions.
Parameters | |
---|---|
Name | Description |
request |
ListTracesRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListTracesResponse> |
patchTraces(PatchTracesRequest request, StreamObserver<Empty> responseObserver)
public void patchTraces(PatchTracesRequest request, StreamObserver<Empty> responseObserver)
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 | |
---|---|
Name | Description |
request |
PatchTracesRequest |
responseObserver |
io.grpc.stub.StreamObserver<Empty> |