readRequestsFromProxy

open override fun readRequestsFromProxy(request: AgentInfo): Flow<ScrapeRequest>(source)

Returns a Flow of responses to an RPC for ProxyService.readRequestsFromProxy.

If creating or collecting the returned flow fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If it fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If creating or collecting the returned flow fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

Parameters

request

The request from the client.