Class TraceServiceGrpc (2.3.7)

public final class TraceServiceGrpc

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

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getBatchWriteSpansMethod()

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

getCreateSpanMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
TraceServiceGrpc.TraceServiceStub