-
Notifications
You must be signed in to change notification settings - Fork 133
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
Need way to change environment at run time #591
Comments
need this feature too, we have the exactly situation described above, it's not a deal-breaker (app store user will never be able to switch server) but definitely nice to have |
Hello @JetForMe @odaeagle 👋. We've been discussing this in the team and unfortunately this isn't something we're considering for close future as it seems very specific. Today, |
Doesn't seem specific at all. I've worked at many companies that had the ability to change the targeted environment at run time. Your SDK can't even be reinitialized. |
We are evaluating integrating DataDog and I was surprised to find that this was not a capability. Every app I've worked on has supported an internal build with an ability to modify the network environment at runtime, so not supporting a way to pass that change into the SDK is limiting for our ability to get reliable data out of the non-production environments. |
I would like to request this as well... not only is it super common for development builds to have many selectable environments - but with regulations like GDPR it is not uncommon to have separate production environments for different regions like the EU. Datadog themselves have multiple production environments with a separate one for the EU - so don't think that they could legitimately claim that the ability to select between multiple environments is an odd one. The inability to reinitialize the Datadog SDK, or at least modify the environment, is extremely limiting in putting Datadog in use in many real-world situations. |
Need way to change environment at run time
There doesn't seem to be a way to change the environment used at runtime. But debug versions of our app allow the user to select whether or not they're pointing to our staging or production environments. It would be nice to be able to change DataDog's environment as well.
The text was updated successfully, but these errors were encountered: