You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
spans are currently created in request-created. Botocore may emit this during retries; it's also too late to cover any failures during operation lookup, parameter construction, serialization, or other work before an HTTP request exists.
Proposed Solution
patch BaseClient._make_api_call as OTel does; one logical client span should cover all retries until response, error, or cancellation.
wrapper is the only owner of the aws client span's start and completion.
_AwsCallContext can be used to contain generic data such botocore client, service name, operation name, region, endpoint URL, etc
Problem
request-created. Botocore may emit this during retries; it's also too late to cover any failures during operation lookup, parameter construction, serialization, or other work before an HTTP request exists.Proposed Solution
BaseClient._make_api_callas OTel does; one logical client span should cover all retries until response, error, or cancellation._AwsCallContextcan be used to contain generic data such botocore client, service name, operation name, region, endpoint URL, etcSources