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

Mechanism to detect the region from where request is served #75

Closed
kirankumarkolli opened this issue Mar 12, 2019 · 5 comments
Closed
Labels
discussion-wanted Need a discussion on an area feature-request New feature or request

Comments

@kirankumarkolli
Copy link
Member

Is your feature request related to a problem? Please describe.
Mechanism to detect the region from where request is served

Describe the solution you'd like
*Response types expose a way to know the region which served the request.
Queries which are served from multiple regions also needs to be covered.

Describe alternatives you've considered
Currently this information is not available.

Additional context
NA

@kirankumarkolli kirankumarkolli added the feature-request New feature or request label Mar 12, 2019
@christopheranderson christopheranderson added the discussion-wanted Need a discussion on an area label May 7, 2019
@bchong95
Copy link
Contributor

bchong95 commented Oct 8, 2019

@kirankumarkolli and @j82w This information is already in the PointOperationDiagnostics right?

@j82w
Copy link
Contributor

j82w commented Oct 8, 2019

It does have contacted regions, but it's not just the region. Is this good enough or do we need an explicit region name field?

For example:
URL from data explorer:
https://myAccountTemp.documents.azure.com:443/

String from diagnostics:
{https://myAccountTemp-eastus2.documents.azure.com/}

@kirankumarkolli
Copy link
Member Author

Explicit will make it quite useful if it needs programmatic logic.
For queries, should it be a collection of regions?

@j82w
Copy link
Contributor

j82w commented Oct 15, 2019

This only works for direct + TCP mode where the client side request diagnostics exists. There is a PR adding the clients side request statistics to the query diagnostics which will return each page as a JSON object with the query metrics, client side request statistics, and some other info required for debugging.

@j82w
Copy link
Contributor

j82w commented Mar 23, 2021

#2312

@j82w j82w closed this as completed Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion-wanted Need a discussion on an area feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants