Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: ability to track number of requests made #238

Open
extemporalgenome opened this issue Jun 21, 2024 · 1 comment
Open

Feature request: ability to track number of requests made #238

extemporalgenome opened this issue Jun 21, 2024 · 1 comment

Comments

@extemporalgenome
Copy link

Related to controlling pagination via #231, it would be useful to known how many top-level DynamoDB requests were made as part of a high-level operation. Typically this would be for queries/scans (how many sequential pages were fetched?), though potentially it could also apply to BatchWriteItem or BatchReadItem calls.

Perhaps this could live in ConsumedCapacity.

It's unclear if there's value in distinguishing between planned-for requests and actual requests, in order to account for retries due to throttling, etc. Retries could also be tracked explicitly, of course.

@guregu
Copy link
Owner

guregu commented Jun 24, 2024

Good idea, I think we can shove it into ConsumedCapacity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants