Class TraceServiceGrpc.TraceServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<TraceServiceGrpc.TraceServiceBlockingStub>
-
- com.google.devtools.cloudtrace.v2.TraceServiceGrpc.TraceServiceBlockingStub
-
- Enclosing class:
- TraceServiceGrpc
public static final class TraceServiceGrpc.TraceServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<TraceServiceGrpc.TraceServiceBlockingStub>
A stub to allow clients to do synchronous 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.protobuf.Empty
batchWriteSpans(BatchWriteSpansRequest request)
Batch writes new spans to new or existing traces.protected TraceServiceGrpc.TraceServiceBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
Span
createSpan(Span request)
Creates a new span.
-
-
-
Method Detail
-
build
protected TraceServiceGrpc.TraceServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<TraceServiceGrpc.TraceServiceBlockingStub>
-
batchWriteSpans
public com.google.protobuf.Empty batchWriteSpans(BatchWriteSpansRequest request)
Batch writes new spans to new or existing traces. You cannot update existing spans.
-
-