Class TraceServiceGrpc.TraceServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<TraceServiceGrpc.TraceServiceFutureStub>
-
- com.google.devtools.cloudtrace.v2.TraceServiceGrpc.TraceServiceFutureStub
-
- Enclosing class:
- TraceServiceGrpc
public static final class TraceServiceGrpc.TraceServiceFutureStub extends io.grpc.stub.AbstractFutureStub<TraceServiceGrpc.TraceServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
batchWriteSpans(BatchWriteSpansRequest request)
Batch writes new spans to new or existing traces.protected TraceServiceGrpc.TraceServiceFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<Span>
createSpan(Span request)
Creates a new span.
-
-
-
Method Detail
-
build
protected TraceServiceGrpc.TraceServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<TraceServiceGrpc.TraceServiceFutureStub>
-
batchWriteSpans
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> batchWriteSpans(BatchWriteSpansRequest request)
Batch writes new spans to new or existing traces. You cannot update existing spans.
-
-