Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions docs/platforms/javascript/common/feature-flags/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

<PlatformContent includePath="feature-flags/change-tracking-list" />
4 changes: 2 additions & 2 deletions docs/platforms/python/feature-flags/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand All @@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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)