Set Up Feature Flags
With Feature Flags, Sentry tracks feature flag evaluations in your application, keeps an audit log of feature flag changes, and reports any suspicious updates that may have caused an error.
Currently in Beta
Feature flag change tracking and feature flag evaluation tracking is currently in open beta.
- Sentry SDK version
9.0.0
.
If you use a third-party SDK to evaluate feature flags, you can enable Sentry to track those evaluations. Integrations are provider specific, and documentation for supported SDKs is listed below:
Call Sentry.addFeatureFlag
to track feature flag evaluations:
Copied
Sentry.addFeatureFlag("feature_flag_a", true);
Calling this function multiple times with the same flag name will override the previous value.
Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").