public static final class TraceServiceGrpc.TraceServiceStub extends AbstractAsyncStub<TraceServiceGrpc.TraceServiceStub>
A stub to allow clients to do asynchronous rpc calls to service TraceService.
Service for collecting and viewing traces and spans within a trace. A trace is a collection of spans corresponding to a single operation or a set of operations in an application. A span is an individual timed event which forms a node of the trace tree. A single trace can contain spans from multiple services.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > TraceServiceGrpc.TraceServiceStubMethods
batchWriteSpans(BatchWriteSpansRequest request, StreamObserver<Empty> responseObserver)
public void batchWriteSpans(BatchWriteSpansRequest request, StreamObserver<Empty> responseObserver)
Batch writes new spans to new or existing traces. You cannot update existing spans.
Parameters | |
---|---|
Name | Description |
request |
BatchWriteSpansRequest |
responseObserver |
io.grpc.stub.StreamObserver<Empty> |
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 |
createSpan(Span request, StreamObserver<Span> responseObserver)
public void createSpan(Span request, StreamObserver<Span> responseObserver)
Creates a new span.
Parameters | |
---|---|
Name | Description |
request |
Span |
responseObserver |
io.grpc.stub.StreamObserver<Span> |