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