Class MetricsServiceGrpc
java.lang.Object
io.opentelemetry.proto.collector.metrics.v1.MetricsServiceGrpc
@Generated(value="by gRPC proto compiler (version 1.56.1)",
comments="Source: opentelemetry/proto/collector/metrics/v1/metrics_service.proto")
public final class MetricsServiceGrpc
extends Object
Service that can be used to push metrics between one Application instrumented with OpenTelemetry and a collector, or between a collector and a central collector.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceService that can be used to push metrics between one Application instrumented with OpenTelemetry and a collector, or between a collector and a central collector.static final classA stub to allow clients to do synchronous rpc calls to service MetricsService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service MetricsService.static classBase class for the server implementation of the service MetricsService.static final classA stub to allow clients to do asynchronous rpc calls to service MetricsService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<ExportMetricsServiceRequest,ExportMetricsServiceResponse> static io.grpc.ServiceDescriptornewBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getExportMethod
public static io.grpc.MethodDescriptor<ExportMetricsServiceRequest,ExportMetricsServiceResponse> getExportMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
public static MetricsServiceGrpc.MetricsServiceBlockingStub newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(MetricsServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-