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

Add Support for Additional Environment Configurations #23383

Closed
6 of 8 tasks
alzimmermsft opened this issue Aug 6, 2021 · 2 comments · Fixed by #23435
Closed
6 of 8 tasks

Add Support for Additional Environment Configurations #23383

alzimmermsft opened this issue Aug 6, 2021 · 2 comments · Fixed by #23435
Assignees
Labels
Client This issue points to a problem in the data-plane of the library.

Comments

@alzimmermsft
Copy link
Member

alzimmermsft commented Aug 6, 2021

Currently, many common configurations have a hard-coded constants as the default value. For these configurations, it should be investigated and determined whether an environment configuration could be used as the default value instead if it is set, potential configurations to update:

  • Default request retry limit
  • Network timeouts
    • Connect timeout
    • Request send timeout
    • Response timeout
    • Response read timeout
  • Default polling interval for long running operations
  • Default headers and query parameters allowed in logging

Not all configurations mentioned above will be configurable from the environment but are areas that should be investigated. Additionally, a framework for configuring different default behaviors per SDK, Storage Blobs vs Cosmos vs Azure Search, should be investigated.

@alzimmermsft alzimmermsft added the Client This issue points to a problem in the data-plane of the library. label Aug 6, 2021
@stliu
Copy link
Member

stliu commented Aug 10, 2021

is there a wiki page list all env vars?

I noticed besides azure-core, some service sdk also using some specific env to config, for example this one

@alzimmermsft
Copy link
Member Author

is there a wiki page list all env vars?

There is a high-level list in the Azure SDK guidelines: https://azure.github.io/azure-sdk/general_azurecore.html

But I don't think there is a more targeted list for special SDK or language specific environment variables. I'll file an associated issue to create documentation for them.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants