Class TraceServiceGrpc (2.46.0)

public final class TraceServiceGrpc

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

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(TraceServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(TraceServiceGrpc.AsyncService service)
Parameter
Name Description
service TraceServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getBatchWriteSpansMethod()

public static MethodDescriptor<BatchWriteSpansRequest,Empty> getBatchWriteSpansMethod()
Returns
Type Description
io.grpc.MethodDescriptor<BatchWriteSpansRequest,Empty>

getCreateSpanMethod()

public static MethodDescriptor<Span,Span> getCreateSpanMethod()
Returns
Type Description
io.grpc.MethodDescriptor<Span,Span>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static TraceServiceGrpc.TraceServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
TraceServiceGrpc.TraceServiceBlockingStub

newFutureStub(Channel channel)

public static TraceServiceGrpc.TraceServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
TraceServiceGrpc.TraceServiceFutureStub

newStub(Channel channel)

public static TraceServiceGrpc.TraceServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
TraceServiceGrpc.TraceServiceStub