-
Notifications
You must be signed in to change notification settings - Fork 360
Add class ConfigEnvSources to merge stable config and environment variables #6982
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
Open
mtoffl01
wants to merge
32
commits into
master
Choose a base branch
from
mtoff/dcfg-getEnv-migration
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
dc63580
Create ConfigEnvSources and tests
mtoffl01 5552732
fix circular dependency
mtoffl01 fa0b085
Migrate civis call to use getEnvironmnetVariableSources instead
mtoffl01 4a3da0a
run linter
mtoffl01 45358ab
cleanup comments on config-env-sources
mtoffl01 aec7352
complete ci/init.js migration
mtoffl01 e20d877
migrate otel-sdk-trace.js
mtoffl01 c9ec19a
assert getResolvedEnv behaves just like getEnvironmentVariable when o…
mtoffl01 4eaa3d2
migrate register.js
mtoffl01 908c10b
migrate DD_TRACE_AWS_SDK_BATCH_PROPAGATION_ENABLED
mtoffl01 6b21eae
migrate DD_TRACE_AZURE_EVENTHUBS_BATCH_LINKS_ENABLED and DD_TRACE_AZU…
mtoffl01 8fe1fd3
migrate cypress and cucumber DD_CIVISIBILITY_AUTO_INSTRUMENTATION_PRO…
mtoffl01 5811b1d
migrate dd-trace-api, mocha and jest
mtoffl01 cfab8fb
migrate mongodb, playwright and vitest plugins
mtoffl01 26de803
migrate index.js -- specifically for disablement env vars -- and upda…
mtoffl01 d6ea4a0
migrate plugin_manager
mtoffl01 803e2bb
migrate DD_API_KEY in proxy.js
mtoffl01 aa67d70
Finish bulk migration
mtoffl01 d8afa93
fix debugger test: reset configenvsources
mtoffl01 75cccd5
Fix failing tests in ci
mtoffl01 a76179d
fix failing lambda tets and aws-sdk tests
mtoffl01 3e0b148
whoops - include all changes to lambda tests
mtoffl01 a532c6a
migrate DD_TRACE_ENCODING_DEBUG and DD_TRACE_EXPERIMENTAL_STATE_TRACKING
mtoffl01 95d33ef
Try out not cachine env vars
mtoffl01 4ef817d
update config-env-sources tests accordingly
mtoffl01 fe7b294
Remove calls to resetConfigEnvSources in legacy tests
mtoffl01 4d322ce
Merge branch 'master' into mtoff/dcfg-getEnv-migration
mtoffl01 206372f
nits
mtoffl01 9efdeb2
Merge branch 'mtoff/dcfg-getEnv-migration' of github.com:DataDog/dd-t…
mtoffl01 fa275a6
restore exporter.spec.js
mtoffl01 959ab44
have Config re-use the stable config entries from ConfigEnvSources
mtoffl01 51d2443
Add doc for ConfigEnvSources
mtoffl01 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what this env var does