How to log throttling events with dynamodb #4015
Unanswered
RudolfVonKrugstein
asked this question in
Q&A
Replies: 1 comment
-
If you have log level set to DEBUG then boto3 client should log retries or you can inspect the returned object and check the ResponseMetadata for the RetryAttempts count - https://boto3.amazonaws.com/v1/documentation/api/latest/guide/retries.html. Also you could monitor the cloudwatch metrics for throttles on your table. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
As I understand it, boto3 does automatic exponential backoff when getting throttled by dynamodb.
That is fine and I dont want to change that behavior, but can I somehow log this trottling events? And/or detect these events after a call to i.E. dynamodb.get_item so that I can tell, how often the throtteling has happened?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions