public static final class MetricsServiceGrpc.MetricsServiceStub extends io.grpc.stub.AbstractStub<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.
| Modifier and Type | Method and Description |
|---|---|
protected MetricsServiceGrpc.MetricsServiceStub |
build(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.
|
protected MetricsServiceGrpc.MetricsServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<MetricsServiceGrpc.MetricsServiceStub>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.
Copyright © 2018–2021 The Envoy Project. All rights reserved.