Skip to content

Commit b104742

Browse files
aliu39bitsandfoxes
authored andcommitted
ref(flags): mention spans/txn event support in JS integration docs (#14211)
Since JS [9.31.0](https://github.com/getsentry/sentry-javascript/releases/tag/9.31.0) our FF integrations capture flags on spans, which are sent in [transaction events](https://develop.sentry.dev/sdk/data-model/event-payloads/transaction/). This PR updates the JS integration docs to mention this, and renames "trace events" to "transaction events" in python
1 parent bc20356 commit b104742

File tree

10 files changed

+10
-15
lines changed

10 files changed

+10
-15
lines changed

docs/platforms/javascript/common/configuration/integrations/featureflags.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ If you are using an external feature flag provider, refer to the [supported list
3737
</Alert>
3838

3939
The Feature Flags integration allows you to manually track feature flag evaluations through an API.
40-
These evaluations are held in memory and sent to Sentry when an error occurs.
40+
These evaluations are held in memory and sent to Sentry on error and transaction events.
4141
**At the moment, we only support boolean flag evaluations.** This integration is available in
4242
Sentry SDK **versions 8.43.0 or higher.**
4343

docs/platforms/javascript/common/configuration/integrations/launchdarkly.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ This integration only works inside a browser environment. It is only available f
3030

3131
</Alert>
3232

33-
The [LaunchDarkly](https://launchdarkly.com/) integration tracks feature flag evaluations produced by the LaunchDarkly SDK. These evaluations are held in memory, and in the event an error occurs, sent to Sentry for review and analysis. **At the moment, we only support boolean flag evaluations.** This integration is available in
34-
Sentry SDK **versions 8.43.0 or higher.**
33+
The [LaunchDarkly](https://launchdarkly.com/) integration tracks feature flag evaluations produced by the LaunchDarkly SDK. These evaluations are held in memory and are sent to Sentry on error and transaction events. **At the moment, we only support boolean flag evaluations.** This integration is available in Sentry SDK **versions 8.43.0 or higher.**
3534

3635
_Import names: `Sentry.launchDarklyIntegration` and `Sentry.buildLaunchDarklyFlagUsedHandler`_
3736

docs/platforms/javascript/common/configuration/integrations/openfeature.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This integration only works inside a browser environment. It is only available f
3131

3232
</Alert>
3333

34-
The [OpenFeature](https://openfeature.dev/) integration tracks feature flag evaluations produced by the OpenFeature SDK. These evaluations are held in memory, and in the event an error occurs, sent to Sentry for review and analysis. **At the moment, we only support boolean flag evaluations.** This integration is available in
34+
The [OpenFeature](https://openfeature.dev/) integration tracks feature flag evaluations produced by the OpenFeature SDK. These evaluations are held in memory and are sent to Sentry on error and transaction events. **At the moment, we only support boolean flag evaluations.** This integration is available in
3535
Sentry SDK **versions 8.43.0 or higher.**
3636

3737
_Import name: `Sentry.openFeatureIntegration` and `Sentry.OpenFeatureIntegrationHook`_

docs/platforms/javascript/common/configuration/integrations/statsig.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This integration only works inside a browser environment. It is only available f
2929

3030
</Alert>
3131

32-
The [Statsig](https://www.statsig.com/) integration tracks feature flag evaluations produced by the Statsig JavaScript Client SDK. These evaluations are held in memory, and in the event an error occurs, sent to Sentry for review and analysis. **At the moment, we only support boolean flag evaluations from Statsig's `checkGate` method**. Learn more about [Statsig feature gates](https://docs.statsig.com/feature-flags/working-with/).
32+
The [Statsig](https://www.statsig.com/) integration tracks feature flag evaluations produced by the Statsig JavaScript Client SDK. These evaluations are held in memory and are sent to Sentry on error and transaction events. **At the moment, we only support boolean flag evaluations from Statsig's `checkGate` method**. Learn more about [Statsig feature gates](https://docs.statsig.com/feature-flags/working-with/).
3333

3434
This integration is available in Sentry SDK **versions 9.0.0 and higher**, or **versions 8.55.0 and higher for v8.**
3535

docs/platforms/javascript/common/configuration/integrations/unleash.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This integration only works inside a browser environment. It is only available f
3030

3131
</Alert>
3232

33-
The [Unleash](https://www.getunleash.io/) integration tracks feature flag evaluations produced by the Unleash SDK. These evaluations are held in memory, and in the event an error occurs, sent to Sentry for review and analysis. **At the moment, we only support boolean flag evaluations from Unleash's isEnabled method.** This integration is available in Sentry SDK **versions 8.51.0 or higher.**
33+
The [Unleash](https://www.getunleash.io/) integration tracks feature flag evaluations produced by the Unleash SDK. These evaluations are held in memory and are sent to Sentry on error and transaction events. **At the moment, we only support boolean flag evaluations from Unleash's isEnabled method.** This integration is available in Sentry SDK **versions 8.51.0 or higher.**
3434

3535
_Import names: `Sentry.unleashIntegration`_
3636

docs/platforms/python/feature-flags/index.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@ If you use a third-party SDK to evaluate feature flags, you can enable a Sentry
2121
- [Unleash](/platforms/python/integrations/unleash/)
2222

2323
### Generic API
24-
The generic API allows you to manually track feature flag evaluations. These
25-
evaluations are held in memory, and in the event an error occurs, sent to
26-
Sentry for review and analysis. Specifically, the generic integration enables
27-
users to integrate with proprietary (or otherwise unsupported) feature flagging
28-
solutions. **At the moment, we only support boolean flag evaluations.**
24+
If you use an unsupported solution, you can use the generic API to manually track feature flag evaluations. These evaluations are held in memory and are sent to Sentry on error and transaction events. **At the moment, we only support boolean flag evaluations.**
2925

3026
```python
3127
import sentry_sdk

docs/platforms/python/integrations/launchdarkly/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "Learn how to use Sentry with LaunchDarkly."
55

66
<PlatformContent includePath="feature-flags/prerelease-alert" />
77

8-
The [LaunchDarkly](https://launchdarkly.com/) integration tracks feature flag evaluations produced by the LaunchDarkly SDK. These evaluations are held in memory and are sent to Sentry on error and trace events. **At the moment, we only support boolean flag evaluations.**
8+
The [LaunchDarkly](https://launchdarkly.com/) integration tracks feature flag evaluations produced by the LaunchDarkly SDK. These evaluations are held in memory and are sent to Sentry on error and transaction events. **At the moment, we only support boolean flag evaluations.**
99

1010
## Install
1111

docs/platforms/python/integrations/openfeature/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "Learn how to use Sentry with OpenFeature."
55

66
<PlatformContent includePath="feature-flags/prerelease-alert" />
77

8-
The [OpenFeature](https://openfeature.dev/) integration tracks feature flag evaluations produced by the OpenFeature SDK. These evaluations are held in memory and are sent to Sentry on error and trace events. **At the moment, we only support boolean flag evaluations.**
8+
The [OpenFeature](https://openfeature.dev/) integration tracks feature flag evaluations produced by the OpenFeature SDK. These evaluations are held in memory and are sent to Sentry on error and transaction events. **At the moment, we only support boolean flag evaluations.**
99

1010
## Install
1111

docs/platforms/python/integrations/statsig/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "Learn how to use Sentry with Statsig."
55

66
<PlatformContent includePath="feature-flags/prerelease-alert" />
77

8-
The [Statsig](https://www.statsig.com/) integration tracks feature flag evaluations produced by the Statsig Python Server SDK. These evaluations are held in memory and are sent to Sentry on error and trace events. **At the moment, we only support boolean flag evaluations from Statsig's `check_gate` function.** Learn more about [Statsig feature gates](https://docs.statsig.com/feature-flags/working-with/).
8+
The [Statsig](https://www.statsig.com/) integration tracks feature flag evaluations produced by the Statsig Python Server SDK. These evaluations are held in memory and are sent to Sentry on error and transaction events. **At the moment, we only support boolean flag evaluations from Statsig's `check_gate` function.** Learn more about [Statsig feature gates](https://docs.statsig.com/feature-flags/working-with/).
99

1010
## Install
1111

docs/platforms/python/integrations/unleash/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "Learn how to use Sentry with Unleash."
55

66
<PlatformContent includePath="feature-flags/prerelease-alert" />
77

8-
The [Unleash](https://www.getunleash.io/) integration tracks feature flag evaluations produced by the Unleash SDK. These evaluations are held in memory and are sent to Sentry on error and trace events. **At the moment, we only support boolean flag evaluations from Unleash's is_enabled method.**
8+
The [Unleash](https://www.getunleash.io/) integration tracks feature flag evaluations produced by the Unleash SDK. These evaluations are held in memory and are sent to Sentry on error and transaction events. **At the moment, we only support boolean flag evaluations from Unleash's is_enabled method.**
99

1010
## Install
1111

0 commit comments

Comments
 (0)