add env var to configure ffe init time#6948
Conversation
Overall package sizeSelf size: 4.46 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 2.0.3 | 76.87 kB | 808.03 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6948 +/- ##
=======================================
Coverage 86.16% 86.16%
=======================================
Files 515 515
Lines 22234 22249 +15
=======================================
+ Hits 19157 19171 +14
- Misses 3077 3078 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
BenchmarksBenchmark execution time: 2026-01-29 14:46:27 Comparing candidate commit 9f0ba3a in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 228 metrics, 32 unstable metrics. |
Add environment variable support for: - DD_FLAGGING_PROVIDER_ENABLED / DD_EXPERIMENTAL_FLAGGING_PROVIDER_ENABLED - DD_FLAGGING_PROVIDER_INITIALIZATION_TIMEOUT_MS / DD_EXPERIMENTAL_FLAGGING_PROVIDER_INITIALIZATION_TIMEOUT_MS
06d5c11 to
76a0e6c
Compare
BridgeAR
left a comment
There was a problem hiding this comment.
LGTM in case we use a single env.
I do not know how stable things are, so I would also be fine to use the non experimental name. While it is a new case for me and I would have to look up what rules we define for us about that (if we have some).
…ovider Remove support for non-experimental env vars (DD_FLAGGING_PROVIDER_ENABLED and DD_FLAGGING_PROVIDER_INITIALIZATION_TIMEOUT_MS) to align with other Datadog tracers (Go, Python, Ruby, Java, .NET) which only support the DD_EXPERIMENTAL_* variants.
|
Even though we are going to go GA soon, because all other trace libraries are currently configured as |
This comment has been minimized.
This comment has been minimized.
* feat(openfeature): add env vars for flagging provider configuration Add environment variable support for: - DD_FLAGGING_PROVIDER_ENABLED / DD_EXPERIMENTAL_FLAGGING_PROVIDER_ENABLED - DD_FLAGGING_PROVIDER_INITIALIZATION_TIMEOUT_MS / DD_EXPERIMENTAL_FLAGGING_PROVIDER_INITIALIZATION_TIMEOUT_MS * fix(openfeature): use only DD_EXPERIMENTAL_* env vars for flagging provider Remove support for non-experimental env vars (DD_FLAGGING_PROVIDER_ENABLED and DD_FLAGGING_PROVIDER_INITIALIZATION_TIMEOUT_MS) to align with other Datadog tracers (Go, Python, Ruby, Java, .NET) which only support the DD_EXPERIMENTAL_* variants.
* feat(openfeature): add env vars for flagging provider configuration Add environment variable support for: - DD_FLAGGING_PROVIDER_ENABLED / DD_EXPERIMENTAL_FLAGGING_PROVIDER_ENABLED - DD_FLAGGING_PROVIDER_INITIALIZATION_TIMEOUT_MS / DD_EXPERIMENTAL_FLAGGING_PROVIDER_INITIALIZATION_TIMEOUT_MS * fix(openfeature): use only DD_EXPERIMENTAL_* env vars for flagging provider Remove support for non-experimental env vars (DD_FLAGGING_PROVIDER_ENABLED and DD_FLAGGING_PROVIDER_INITIALIZATION_TIMEOUT_MS) to align with other Datadog tracers (Go, Python, Ruby, Java, .NET) which only support the DD_EXPERIMENTAL_* variants.
* feat(openfeature): add env vars for flagging provider configuration Add environment variable support for: - DD_FLAGGING_PROVIDER_ENABLED / DD_EXPERIMENTAL_FLAGGING_PROVIDER_ENABLED - DD_FLAGGING_PROVIDER_INITIALIZATION_TIMEOUT_MS / DD_EXPERIMENTAL_FLAGGING_PROVIDER_INITIALIZATION_TIMEOUT_MS * fix(openfeature): use only DD_EXPERIMENTAL_* env vars for flagging provider Remove support for non-experimental env vars (DD_FLAGGING_PROVIDER_ENABLED and DD_FLAGGING_PROVIDER_INITIALIZATION_TIMEOUT_MS) to align with other Datadog tracers (Go, Python, Ruby, Java, .NET) which only support the DD_EXPERIMENTAL_* variants.
Motivation
Follow-up to the OpenFeature flagging provider feature. The provider was initially configurable only via the programmatic API. This PR adds environment variable support so users can enable and configure the flagging provider without code changes.
Changes
DD_FLAGGING_PROVIDER_ENABLEDandDD_EXPERIMENTAL_FLAGGING_PROVIDER_ENABLEDenv vars to enable the flagging providerDD_FLAGGING_PROVIDER_INITIALIZATION_TIMEOUT_MSandDD_EXPERIMENTAL_FLAGGING_PROVIDER_INITIALIZATION_TIMEOUT_MSenv vars to configure initialization timeoutDecisions
DD_EXPERIMENTAL_*) and non-experimental (DD_*) env var names are supported for consistency with other configuration options