Closed dstepe closed 1 year ago
I think it'd a very nice addition to the agent. My only concern is that we need to handle exceptions in case of failures when calling sendAsyncRequest
I don't think this will be easy to implement. The work can remain on the branch to be picked up later if anyone is interested, but at this point, there does not appear to be any real demand anyway.
Look at using
\Http\Client\HttpAsyncClient::sendAsyncRequest()
rather than\Psr\Http\Client\ClientInterface::sendRequest()
. This would allow the Agent to return control without waiting for APM to respond.