Class TraceServiceGrpc.TraceServiceImplBase (2.12.0)

public abstract static class TraceServiceGrpc.TraceServiceImplBase implements BindableService

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 > TraceServiceGrpc.TraceServiceImplBase

Implements

io.grpc.BindableService

Constructors

TraceServiceImplBase()

public TraceServiceImplBase()

Methods

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
NameDescription
requestBatchWriteSpansRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

createSpan(Span request, StreamObserver<Span> responseObserver)

public void createSpan(Span request, StreamObserver<Span> responseObserver)

Creates a new span.

Parameters
NameDescription
requestSpan
responseObserverio.grpc.stub.StreamObserver<Span>