public static final class TraceServiceGrpc.TraceServiceStub extends io.grpc.stub.AbstractStub<TraceServiceGrpc.TraceServiceStub>
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. A single trace may contain span(s) from multiple services.
Modifier and Type | Method and Description |
---|---|
void |
batchWriteSpans(BatchWriteSpansRequest request,
io.grpc.stub.StreamObserver<Empty> responseObserver)
Sends 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.
|
protected TraceServiceGrpc.TraceServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<TraceServiceGrpc.TraceServiceStub>
public void batchWriteSpans(BatchWriteSpansRequest request, io.grpc.stub.StreamObserver<Empty> responseObserver)
Sends new spans to new or existing traces. You cannot update existing spans.