diff --git a/src/lib/__snapshots__/create-config.test.ts.snap b/src/lib/__snapshots__/create-config.test.ts.snap index b3a40f5481d9..fb4390013d8b 100644 --- a/src/lib/__snapshots__/create-config.test.ts.snap +++ b/src/lib/__snapshots__/create-config.test.ts.snap @@ -74,6 +74,7 @@ exports[`should create default config 1`] = ` "demo": false, "disableBulkToggle": false, "disableNotifications": false, + "doraMetrics": false, "embedProxy": true, "embedProxyFrontend": true, "featureNamingPattern": false, @@ -109,6 +110,7 @@ exports[`should create default config 1`] = ` "demo": false, "disableBulkToggle": false, "disableNotifications": false, + "doraMetrics": false, "embedProxy": true, "embedProxyFrontend": true, "featureNamingPattern": false, diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts index de2d3083c525..736f3cda304b 100644 --- a/src/lib/types/experimental.ts +++ b/src/lib/types/experimental.ts @@ -128,6 +128,10 @@ const flags: IFlags = { process.env.UNLEASH_EXPERIMENTAL_FEATURE_NAMING_PATTERN, false, ), + doraMetrics: parseEnvVarBoolean( + process.env.UNLEASH_EXPERIMENTAL_DORA_METRICS, + false, + ), }; export const defaultExperimentalOptions: IExperimentalOptions = {