File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 66
77class FeatureFlagsIntegration (Integration ):
88 """
9- Sentry integration for buffering feature flags manually with an API and capturing them on
10- error events. We recommend you do this on each flag evaluation. Flags are buffered per Sentry
11- scope .
9+ Sentry integration for capturing feature flags on error events. To manually buffer flag data,
10+ call `integrations.featureflags.add_feature_flag`. We recommend you do this on each flag
11+ evaluation .
1212
1313 See the [feature flag documentation](https://develop.sentry.dev/sdk/expected-features/#feature-flags)
1414 for more information.
@@ -37,8 +37,8 @@ def setup_once():
3737def add_feature_flag (flag , result ):
3838 # type: (str, bool) -> None
3939 """
40- Records a flag and its value to be sent on subsequent error events. We recommend you do this
41- on flag evaluations. Flags are buffered per Sentry scope and limited to 100 per event .
40+ Records a flag and its value to be sent on subsequent error events by FeatureFlagsIntegration.
41+ We recommend you do this on flag evaluations. Flags are buffered per Sentry scope.
4242 """
4343 flags = sentry_sdk .get_current_scope ().flags
4444 flags .set (flag , result )
You can’t perform that action at this time.
0 commit comments