Class TraceServiceGrpc.TraceServiceImplBase (2.3.0)

public abstract static class TraceServiceGrpc.TraceServiceImplBase implements BindableService

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.

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)

Sends 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>