Class TraceServiceGrpc.TraceServiceBlockingStub (2.18.0)

public static final class TraceServiceGrpc.TraceServiceBlockingStub extends 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.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > TraceServiceGrpc.TraceServiceBlockingStub

Methods

batchWriteSpans(BatchWriteSpansRequest request)

public Empty batchWriteSpans(BatchWriteSpansRequest request)

Batch writes new spans to new or existing traces. You cannot update existing spans.

Parameter
NameDescription
requestBatchWriteSpansRequest
Returns
TypeDescription
Empty

build(Channel channel, CallOptions callOptions)

protected TraceServiceGrpc.TraceServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
TraceServiceGrpc.TraceServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createSpan(Span request)

public Span createSpan(Span request)

Creates a new span.

Parameter
NameDescription
requestSpan
Returns
TypeDescription
Span