Class MetricsServiceGrpc.MetricsServiceImplBase
- java.lang.Object
-
- io.opentelemetry.proto.collector.metrics.v1.MetricsServiceGrpc.MetricsServiceImplBase
-
- All Implemented Interfaces:
io.grpc.BindableService
- Enclosing class:
- MetricsServiceGrpc
public abstract static class MetricsServiceGrpc.MetricsServiceImplBase extends Object implements io.grpc.BindableService
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.
-
-
Constructor Summary
Constructors Constructor Description MetricsServiceImplBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.grpc.ServerServiceDefinitionbindService()voidexport(ExportMetricsServiceRequest request, io.grpc.stub.StreamObserver<ExportMetricsServiceResponse> responseObserver)For performance reasons, it is recommended to keep this RPC alive for the entire life of the application.
-
-
-
Method Detail
-
export
public void export(ExportMetricsServiceRequest request, io.grpc.stub.StreamObserver<ExportMetricsServiceResponse> responseObserver)
For performance reasons, it is recommended to keep this RPC alive for the entire life of the application.
-
bindService
public final io.grpc.ServerServiceDefinition bindService()
- Specified by:
bindServicein interfaceio.grpc.BindableService
-
-