Skip to content

Commit b4eb421

Browse files
committed
Update docstrs
1 parent 4c6f08a commit b4eb421

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sentry_sdk/integrations/featureflags.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
class 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():
3737
def 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)

0 commit comments

Comments
 (0)