You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Description
This PR adds **Feature Flag Exposure reporting** to the Datadog
OpenFeature Provider, along with centralized configuration management
for OpenFeature settings.
### Key Changes
#### **Feature Flag Exposure Reporting**
- Implements exposure event tracking for feature flag evaluations
- Sends exposure events to Datadog Agent's EVP proxy endpoint
(`/evp_proxy/v2/api/v2/exposures`)
- Tracks flag key, variant, allocation, and user context for each
evaluation
- Includes automatic retry mechanism with fibonacci backoff
#### **Centralized Configuration System**
Created
[ddtrace/settings/openfeature.py](cci:7://file:///home/alberto.vara/projects/dd-python/dd-trace-py/ddtrace/settings/openfeature.py:0:0-0:0)
with three new environment variables:
- **`DD_EXPERIMENTAL_FLAGGING_PROVIDER_ENABLED`** (default: `false`)
- Controls whether the experimental OpenFeature provider is enabled
- Must be explicitly enabled to use the provider
- **`DD_FFE_INTAKE_ENABLED`** (default: `true`)
- Enables/disables exposure event reporting to Datadog
- Allows disabling telemetry without disabling the provider
- **`DD_FFE_INTAKE_HEARTBEAT_INTERVAL`** (default: `1.0`)
- Controls the flush interval for exposure events in seconds
- Configurable for performance tuning
## Additional Notes
Related PR: #15051
0 commit comments