diff --git a/docs/platforms/javascript/common/feature-flags/index.mdx b/docs/platforms/javascript/common/feature-flags/index.mdx index a1c7510ed78c9..b0b5861428b16 100644 --- a/docs/platforms/javascript/common/feature-flags/index.mdx +++ b/docs/platforms/javascript/common/feature-flags/index.mdx @@ -30,14 +30,17 @@ description: With Feature Flags, Sentry tracks feature flag evaluations in your ## Enable Evaluation Tracking -Evaluation tracking requires enabling an SDK integration. Integrations are provider specific. Documentation for supported providers is listed below. +If you use a third-party SDK to evaluate feature flags, you can enable a Sentry SDK integration to track those evaluations. Integrations are provider specific. Documentation for supported SDKs is listed below. -- [Generic](/platforms/javascript/configuration/integrations/featureflags/) - [LaunchDarkly](/platforms/javascript/configuration/integrations/launchdarkly/) - [OpenFeature](/platforms/javascript/configuration/integrations/openfeature/) - [Statsig](/platforms/javascript/configuration/integrations/statsig/) - [Unleash](/platforms/javascript/configuration/integrations/unleash/) +### Generic Integration + +The generic `featureFlagsIntegration` allows you to manually track feature flag evaluations. Read the [documentation](/platforms/javascript/configuration/integrations/featureflags/) to learn more. + ## Enable Change Tracking diff --git a/docs/platforms/python/feature-flags/index.mdx b/docs/platforms/python/feature-flags/index.mdx index 333255a11a6b4..bca6a8c4fdd09 100644 --- a/docs/platforms/python/feature-flags/index.mdx +++ b/docs/platforms/python/feature-flags/index.mdx @@ -12,9 +12,8 @@ description: With Feature Flags, Sentry tracks feature flag evaluations in your ## Enable Evaluation Tracking -Evaluation tracking typically requires enabling an SDK integration. Integrations are provider specific. Documentation for supported providers is listed below. +If you use a third-party SDK to evaluate feature flags, you can enable a Sentry SDK integration to track those evaluations. Integrations are provider specific. Documentation for supported SDKs is listed below. -- [Generic (API)](/platforms/python/feature-flags/#generic-api) - [LaunchDarkly](/platforms/python/integrations/launchdarkly/) - [OpenFeature](/platforms/python/integrations/openfeature/) - [Statsig](/platforms/python/integrations/statsig/) @@ -28,6 +27,7 @@ users to integrate with proprietary (or otherwise unsupported) feature flagging solutions. **At the moment, we only support boolean flag evaluations.** ```python +import sentry_sdk from sentry_sdk.feature_flags import add_feature_flag add_feature_flag('test-flag', False) # Records an evaluation and its result. diff --git a/platform-includes/feature-flags/change-tracking-list/_default.mdx b/platform-includes/feature-flags/change-tracking-list/_default.mdx index bbeadaefc0653..de0f724315b0a 100644 --- a/platform-includes/feature-flags/change-tracking-list/_default.mdx +++ b/platform-includes/feature-flags/change-tracking-list/_default.mdx @@ -1,5 +1,5 @@ Change tracking requires registering a Sentry webhook with a feature flag provider. For set up instructions, visit the documentation for your provider: -* [Generic](/organization/integrations/feature-flag/generic/#change-tracking) * [LaunchDarkly](/organization/integrations/feature-flag/launchdarkly/#change-tracking) * [Statsig](/organization/integrations/feature-flag/statsig/#change-tracking) * [Unleash](/organization/integrations/feature-flag/unleash/#change-tracking) +* [Generic](/organization/integrations/feature-flag/generic/#change-tracking)