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

.NET SDK should provide information on performed retries #225

Open
bpatra opened this issue Mar 15, 2017 · 0 comments
Open

.NET SDK should provide information on performed retries #225

bpatra opened this issue Mar 15, 2017 · 0 comments
Labels

Comments

@bpatra
Copy link

@bpatra bpatra commented Mar 15, 2017

Since version 1.8.0 the DocumentDB SDK handles retries of throttled request itself and that is great.

But if a query is successful but needed retries, all information like the number of throttled request needed or other info such as retry-after, RUs consumed etc. are all swallowed by .NET SDK.

Monitoring an "in production app" is really difficult because all such information are vital for understanding the app RUs consumption. Retrieving the payload (where the information is) of such 429 is quite complex because you need to use some kind of proxy.

It would be nice if an array of ThrottledRequestInfo could be added to the response object.
The ThrottledRequestInfo class may contain fields like .RetryAfter .RequestCharge RequestResponseDuration etc.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.