Class MetricsServiceGrpc.MetricsServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<MetricsServiceGrpc.MetricsServiceStub>
-
- io.opencensus.proto.agent.metrics.v1.MetricsServiceGrpc.MetricsServiceStub
-
- Enclosing class:
- MetricsServiceGrpc
public static final class MetricsServiceGrpc.MetricsServiceStub extends io.grpc.stub.AbstractAsyncStub<MetricsServiceGrpc.MetricsServiceStub>
Service that can be used to push metrics between one Application instrumented with OpenCensus and an agent, or between an agent and a central collector.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MetricsServiceGrpc.MetricsServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)io.grpc.stub.StreamObserver<ExportMetricsServiceRequest>export(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
-
build
protected MetricsServiceGrpc.MetricsServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<MetricsServiceGrpc.MetricsServiceStub>
-
export
public io.grpc.stub.StreamObserver<ExportMetricsServiceRequest> export(io.grpc.stub.StreamObserver<ExportMetricsServiceResponse> responseObserver)
For performance reasons, it is recommended to keep this RPC alive for the entire life of the application.
-
-