Interface TraceServiceGrpc.AsyncService (2.15.0)

public static interface TraceServiceGrpc.AsyncService

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.

Methods

batchWriteSpans(BatchWriteSpansRequest request, StreamObserver<Empty> responseObserver)

public default 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>

createSpan(Span request, StreamObserver<Span> responseObserver)

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

Creates a new span.

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