Move the telemetry callback to be invoked from the meta request event loop
Previously, we invoke the telemetry callback once the send_data gets clean up, which happens when the s3 request gone, or the send_data get cleaned up.
Now, we schedule the callback to be invoked from the events on the meta request
When the send_data get set up, which will happen if the request prepared the http message (before the signing).
When the finished_request invoked, which is the request will not be retried anymore and finished.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Move the telemetry callback to be invoked from the meta request event loop
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.