Skip to content

Commit af5885e

Browse files
authored
feat: support most configurations with Declarative Config (#6694)
* Sync declarative config and env var support; add tests * Move runtime specific evaluations to defaults (e.g. remote config, crashtracking, etc) * Handle cloudPayloadTagging and installSignature
1 parent cb71d51 commit af5885e

File tree

4 files changed

+474
-331
lines changed

4 files changed

+474
-331
lines changed

packages/dd-trace/src/config-helper.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ module.exports = {
8080
* @returns {string|undefined}
8181
* @throws {Error} if the configuration is not supported
8282
*/
83+
// This method, and callers of this method, need to be updated to check for declarative config sources as well.
8384
getEnvironmentVariable (name) {
8485
if ((name.startsWith('DD_') || name.startsWith('OTEL_') || aliasToCanonical[name]) &&
8586
!supportedConfigurations[name]) {

0 commit comments

Comments
 (0)