Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(flags): Consolidate feature flags pull requests#12005
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
0011f2d0dc00d11cf3e8eb0bbf645a0e7791800bb4f00a3fa22d9ec4920a532cd6eceede576632e6e233acb2b7142432271b0e3d4db5797d22a253eb5976c1dc5b2e5b26e9498e0051d4cd2f65097e4d1d8a67956bd4dad0bb8b8e9254bba0ef3d1fbf215f88eddd6800bdf22e6da6194912ba9cdb050e88185d6a802fe91b77eef89f2523e056c39749e07faa00323cb10216840c8bf74f5c55cf2e160508f25f6cc14db3ab0ace9e800c1d8b31b06ebb3d13740542f7e656d2ab3dbb74b526281824778fae723e49e4932645fec1e46d9ebcfed7b07ce47d570eef83c5845b911624a64a4b1a5ab81f0c0cf29bd30f40e17bde537848850d7d99c6edaf7235e1d399fe48814b4db6e739405a6dca8e0619001cbb01d8517273956c84b3fd4eaf357647fa5628d7b3f9bba3b8ab1eb404b732fa4df3cb4d43968d815af0b4a8663ba675dddb0d0cb5d3c93e99928928ab05155c1e4b0763e2ba69c445d3a2fcb6df7c670aab4356fdaf487a91b6f8811e9502f564cc28e02180fb1ff75d69bf096af548d94f632093483d7d60a56a82fde338ec9626File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,12 +1,43 @@ | ||||||||||
| --- | ||||||||||
| title: LaunchDarkly | ||||||||||
| sidebar_order: 1 | ||||||||||
| description: Learn about Sentry's LaunchDarkly integration. LaunchDarkly enables organizations to use Sentry errors as a metric in their LaunchDarkly experiments. | ||||||||||
| description: Learn about Sentry's LaunchDarkly integrations. | ||||||||||
| --- | ||||||||||
| ## Evaluation Tracking | ||||||||||
| Sentry can track flag evaluations as they happen within your application. Flag evaluations will appear in the "Feature Flag" section of Issue Details page as a table, with "suspect" flag predictions highlighted in yellow. Learn more about how to interact with feature flag insights within the Sentry UI by reading the [Issue Details page documentation](/product/issues/issue-details/#feature-flags). | ||||||||||
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||||||||||
| ### Set Up Evaluation Tracking | ||||||||||
| To set up evaluation tracking visit one of our supported languages pages: | ||||||||||
| * [JavaScript](/platforms/javascript/configuration/integrations/launchdarkly/) | ||||||||||
| ||||||||||
| *[JavaScript](/platforms/javascript/configuration/integrations/launchdarkly/) | |
| *[JavaScript](/platforms/javascript/integrations/launchdarkly/) |
ghostDec 2, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| *[JavaScript](/platforms/javascript/configuration/integrations/launchdarkly/) | |
| *[JavaScript](/platforms/javascript/feature-flags/) |
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,77 @@ | ||
| --- | ||
| title: LaunchDarkly | ||
| description: "Learn how to use Sentry with LaunchDarkly." | ||
| notSupported: | ||
| - javascript.aws-lambda | ||
| - javascript.azure-functions | ||
| - javascript.bun | ||
| - javascript.capacitor | ||
| - javascript.cloudflare | ||
| - javascript.connect | ||
| - javascript.cordova | ||
| - javascript.deno | ||
| - javascript.electron | ||
| - javascript.express | ||
| - javascript.fastify | ||
| - javascript.gcp-functions | ||
| - javascript.hapi | ||
| - javascript.koa | ||
| - javascript.nestjs | ||
| - javascript.nodejs | ||
| - javascript.wasm | ||
| --- | ||
| <PlatformContent includePath="feature-flags/prerelease-alert" /> | ||
| <Alert level="info"> | ||
| This integration only works inside a browser environment. | ||
| </Alert> | ||
| 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.** | ||
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| _Import names: `Sentry.launchDarklyIntegration` and `Sentry.buildLaunchDarklyFlagUsedHandler`_ | ||
| ## Install | ||
| Install [`@sentry/browser`](https://www.npmjs.com/package/@sentry/browser) and [`launchdarkly-js-client-sdk`](https://www.npmjs.com/package/launchdarkly-js-client-sdk) from npm. | ||
| ## Configure | ||
| ```JavaScript | ||
| import * as Sentry from '@sentry/browser'; | ||
| import * as LaunchDarkly from 'launchdarkly-js-client-sdk'; | ||
| Sentry.init({ | ||
| dsn: "___PUBLIC_DSN___", | ||
| integrations: [Sentry.launchDarklyIntegration()] | ||
| }); | ||
| const ldClient = LaunchDarkly.initialize( | ||
| 'my-client-ID', | ||
| {kind: 'user', key: 'my-user-context-key'}, | ||
| {inspectors: [Sentry.buildLaunchDarklyFlagUsedHandler()]} | ||
| ); | ||
| ``` | ||
| Learn more about the [LaunchDarkly SDK](https://docs.launchdarkly.com/sdk/client-side/javascript). At the moment, **we aren't officially supporting framework-specific LaunchDarkly SDKs.** However, you may reuse the setup code for [React](https://www.npmjs.com/package/launchdarkly-react-client-sdk) and [client-side Node.js](https://www.npmjs.com/package/launchdarkly-node-client-sdk). | ||
| ## Verify | ||
| The integration is tested by evaluating a feature flag with your LaunchDarkly SDK before capturing an exception. | ||
| ```JavaScript | ||
| import * as Sentry from '@sentry/browser'; | ||
| import * as LaunchDarkly from 'launchdarkly-js-client-sdk'; | ||
| // Evaluate a flag with a default value, with the ldClient from the Configure step. | ||
| // You may have to wait for your client to initialize before doing this. | ||
| ldClient?.variation("hello", false); | ||
| Sentry.captureException(Exception("Something went wrong!")) | ||
| ``` | ||
| Visit the Sentry website and confirm that your error event has recorded the feature flag "hello" and its value "false". | ||
| <PlatformContent includePath="feature-flags/next-steps" /> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| --- | ||
| title: OpenFeature | ||
| description: "Learn how to use Sentry with OpenFeature." | ||
| notSupported: | ||
| - javascript.aws-lambda | ||
| - javascript.azure-functions | ||
| - javascript.bun | ||
| - javascript.capacitor | ||
| - javascript.cloudflare | ||
| - javascript.connect | ||
| - javascript.cordova | ||
| - javascript.deno | ||
| - javascript.electron | ||
| - javascript.express | ||
| - javascript.fastify | ||
| - javascript.gcp-functions | ||
| - javascript.hapi | ||
| - javascript.koa | ||
| - javascript.nestjs | ||
| - javascript.nodejs | ||
| - javascript.wasm | ||
| --- | ||
| <PlatformContent includePath="feature-flags/prerelease-alert" /> | ||
| <Alert level="info"> | ||
| This integration only works inside a browser environment. | ||
| </Alert> | ||
| 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.** | ||
| _Import name: `Sentry.openFeatureIntegration` and `Sentry.OpenFeatureIntegrationHook`_ | ||
| ||
| ## Install | ||
| Install [`@sentry/browser`](https://www.npmjs.com/package/@sentry/browser) and [`@openfeature/web-sdk`](https://www.npmjs.com/package/@openfeature/web-sdk) from npm. | ||
| ## Configure | ||
| ```JavaScript | ||
| import * as Sentry from '@sentry/browser'; | ||
| import { OpenFeature } from '@openfeature/web-sdk'; | ||
| Sentry.init({ | ||
| dsn: "___PUBLIC_DSN___", | ||
| integrations: [Sentry.openFeatureIntegration()] | ||
| }); | ||
| OpenFeature.setProvider(new MyProviderOfChoice()); | ||
| // Option 1: track all OpenFeature evaluations. | ||
| OpenFeature.addHooks(new Sentry.OpenFeatureIntegrationHook()); | ||
| // Option 2: only track evaluations by a specific client. | ||
| const client = OpenFeature.getClient(); | ||
| client.addHooks(new Sentry.OpenFeatureIntegrationHook()); | ||
| ``` | ||
| Learn more about OpenFeature providers [here](https://openfeature.dev/docs/reference/concepts/provider). | ||
| ## Verify | ||
| The integration is tested by evaluating a feature flag with your OpenFeature SDK before capturing an exception. | ||
| ```JavaScript | ||
| import * as Sentry from '@sentry/browser'; | ||
| import { OpenFeature } from '@openfeature/web-sdk'; | ||
| // Evaluate a flag with a default value. If you added the hook to a client in | ||
| // the Configure step, make sure to use the same client here. | ||
| const client = OpenFeature.getClient(); | ||
| const result = client.getBooleanValue('hello', false); | ||
| Sentry.captureException(Exception("Something went wrong!")) | ||
| ``` | ||
| Visit the Sentry website and confirm that your error event has recorded the feature flag "hello" and its value "false". | ||
| <PlatformContent includePath="feature-flags/next-steps" /> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| --- | ||
| title: Set Up Feature Flags | ||
| sidebar_order: 7000 | ||
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| notSupported: | ||
| - javascript.aws-lambda | ||
| - javascript.azure-functions | ||
| - javascript.bun | ||
| - javascript.capacitor | ||
| - javascript.cloudflare | ||
| - javascript.connect | ||
| - javascript.cordova | ||
| - javascript.deno | ||
| - javascript.electron | ||
| - javascript.express | ||
| - javascript.fastify | ||
| - javascript.gcp-functions | ||
| - javascript.hapi | ||
| - javascript.koa | ||
| - javascript.nestjs | ||
| - javascript.nodejs | ||
| - javascript.wasm | ||
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| description: With Feature Flags, Sentry tracks feature flag evaluations in your application, keeps an audit log feature flag changes, and reports any suspicious updates that may have caused an error. | ||
| --- | ||
| <PlatformContent includePath="feature-flags/prerelease-alert" /> | ||
| ## Prerequisites | ||
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| * You have the <PlatformLink to="/">JavaScript SDK installed</PlatformLink> (version 8.41.0-beta.1). | ||
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| ## Enable Evaluation Tracking | ||
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| Evaluation tracking requires enabling an SDK integration. Integrations are provider specific. Documentation for supported providers is listed below. | ||
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| - [OpenFeature](/platforms/javascript/configuration/integrations/openfeature/) | ||
| - [LaunchDarkly](/platforms/javascript/configuration/integrations/launchdarkly/) | ||
Comment on lines
+34
to
+35
| ||
| <PlatformContent includePath="feature-flags/enable-change-tracking" /> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| --- | ||
| title: Set Up Feature Flags | ||
| sidebar_order: 7000 | ||
| description: With Feature Flags, Sentry tracks feature flag evaluations in your application, keeps an audit log feature flag changes, and reports any suspicious updates that may have caused an error. | ||
| --- | ||
| <PlatformContent includePath="feature-flags/prerelease-alert" /> | ||
| ## Prerequisites | ||
| * You have the <PlatformLink to="/">Python SDK installed</PlatformLink> (version 2.18.0 or higher). | ||
| ## Enable Evaluation Tracking | ||
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| Evaluation tracking requires enabling an SDK integration. Integrations are provider specific. Documentation for supported providers is listed below. | ||
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| - [OpenFeature](/platforms/python/integrations/openfeature/) | ||
| - [LaunchDarkly](/platforms/python/integrations/launchdarkly/) | ||
| <PlatformContent includePath="feature-flags/enable-change-tracking" /> | ||
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,28 @@ | ||||||||||||||||||||
| --- | ||||||||||||||||||||
| title: "Feature Flags" | ||||||||||||||||||||
| sidebar_order: 100 | ||||||||||||||||||||
| description: "Learn how to set up and interact with Sentry's feature flag evaluation tracking and feature flag change tracking." | ||||||||||||||||||||
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||||||||||||||||||||
| --- | ||||||||||||||||||||
| <PlatformContent includePath="feature-flags/prerelease-alert" /> | ||||||||||||||||||||
| Enabling a feature flag integration provides deep insights into the state of your application prior to an error. A list of flags and their evaluation results are displayed on each error event in the order of evaluation. Integrating Sentry with your feature flag provider enables Sentry to correlate feature flag changes with new error events and mark certain changes as suspicious. | ||||||||||||||||||||
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||||||||||||||||||||
| ## Evaluation Tracking | ||||||||||||||||||||
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||||||||||||||||||||
| Flag evaluations will appear in the "Feature Flag" section of Issue Details page as a table, with "suspect" flag predictions highlighted in yellow. Learn more about how to interact with feature flag insights within the Sentry UI by reading the [Issue Details page documentation](/product/issues/issue-details/#feature-flags). | ||||||||||||||||||||
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page.
Comment on lines
+12
to
+13
| ||||||||||||||||||||
| Flag evaluations will appear in the "Feature Flag" section of Issue Details page as a table, with "suspect" flag predictions highlighted in yellow. Learn more about how to interact with feature flag insights within the Sentry UI by reading the [Issue Details page documentation](/product/issues/issue-details/#feature-flags). | |
| Flag evaluations will appear in the "Feature Flag" section of the **Issue Details** page as a table, with "suspect" flag predictions highlighted in yellow. You can navigate to the **Issue Details** page by clicking any issue on the [**Issues**](https://sentry.io/orgredirect/organizations/:orgslug/issues/) page. | |
| Learn more about how to interact with feature flag insights within the Sentry UI by reading our [Issue Details docs](/product/issues/issue-details/#feature-flags). |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ghostDec 2, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, but we're not linking to the integration page here?
Maybe we should say something like "Evaluation tracking is currently available for LaunchDarkly and the OpenFeature API. See the supported SDKs and set up instructions below."
ghostDec 2, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 to this. I'd tweak wording slightly to: "Evaluation-tracking is currently available for LaunchDarkly and the OpenFeature API. See all supported SDKs and their set up instructions below:"
Uh oh!
There was an error while loading. Please reload this page.
ghostDec 2, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Change tracking enables Sentry to listen for additions, removals, and modifications to your feature flags. On change, we'll record the change event in the audit log. The audit log appears in the "event volume" chart and presents itself as a "release" line. If the change is responsible for a new error event, we'll notify you by marking the feature flag as "suspect" on the Issue Details page. Learn more about how to interact with feature flag insights within the Sentry UI by reading the [Issue Details documentation](/product/issues/issue-details/#feature-flags). | |
| Change tracking enables Sentry to listen for additions, removals, and modifications to your feature flags. On change, we'll record the change event in the audit log. The audit log appears in the "event volume" chart and presents itself as a "release" line. If the change is responsible for a new error event, we'll notify you by marking the feature flag as "suspect" on the Issue Details page. | |
| Sentry tracks changes such as additions, removals, and modifications to your feature flags, logging them in the audit log, which appears as a "release" line in the event volume chart. If a change causes a new error, Sentry will mark the feature flag as "suspect" on the **Issue Details** page. | |
| Learn more about feature flag insights by reading about the [Issue Details page](/product/issues/issue-details/#feature-flags). | |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -142,3 +142,15 @@ The Contexts section contains related key/value items (not just strings) that yo | ||||||||||||||||||||||||||||||||||||||||||
| The issue details page only displays context for the individual event, and context cannot be searched. If you require searching for your data, use [Tags](#tags) instead. | ||||||||||||||||||||||||||||||||||||||||||
| You can set up your own context items to collect useful debugging information in your next event, as described in <PlatformLink to="/enriching-events/context/">Structured Context</PlatformLink>. | ||||||||||||||||||||||||||||||||||||||||||
| ## Feature Flags | ||||||||||||||||||||||||||||||||||||||||||
| Enabling one or more of our [evaluation tracking integrations](/product/explore/feature-flags/#evaluation-tracking) will reveal the feature flag evaluation table. Here you can see an ordered list (in order of evaluation) of all the flags evaluated and their evaluation results prior to the error event. | ||||||||||||||||||||||||||||||||||||||||||
|  | ||||||||||||||||||||||||||||||||||||||||||
| Enabling a [change tracking integration](/product/explore/feature-flags/#change-tracking) will enable annotations on the event volume chart. These lines mark feature flag changes and can help identify regressions caused by a feature flag definition change. | ||||||||||||||||||||||||||||||||||||||||||
|  | ||||||||||||||||||||||||||||||||||||||||||
| Enabling both a change tracking integration and a evaluation tracking integration will enable suspect feature flag detection. Sentry will attempt to identify feature flags which might have caused an error event and highlight them for review. | ||||||||||||||||||||||||||||||||||||||||||
Comment on lines
+147
to
+156
| ||||||||||||||||||||||||||||||||||||||||||
| Enabling one or more of our [evaluationtracking integrations](/product/explore/feature-flags/#evaluation-tracking) will reveal the feature flag evaluation table. Here you can see an ordered list (in order of evaluation) of all the flags evaluated and their evaluation results prior to the error event. | |
|  | |
| Enabling a [changetracking integration](/product/explore/feature-flags/#change-tracking) will enable annotations on the event volume chart. These lines mark feature flag changes and can help identify regressions caused by a feature flag definition change. | |
|  | |
| Enabling both a change tracking integration and a evaluation tracking integration will enable suspect feature flag detection. Sentry will attempt to identify feature flags which might have caused an error event and highlight them for review. | |
| Once you've set up one or more of our [evaluation-tracking integrations](/product/explore/feature-flags/#evaluation-tracking), a feature flag evaluation table will appear on your **Issue Details** page. This table shows flags and their results in the order they were evaluated before an error occurred. | |
|  | |
| When you enable a [change-tracking integration](/product/explore/feature-flags/#change-tracking), you'll also see annotations on the event volume chart indicating feature flag changes. This helps identify regressions linked to those changes. | |
|  | |
| Using both features enables suspect flag detection and highlights flags that may have caused errors for review. |
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,9 @@ | ||||||||||||||||||||||||||||
| ## Change Tracking | ||||||||||||||||||||||||||||
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||||||||||||||||||||||||||||
| Sentry can track changes to feature flag definitions and report suspicious feature flag edits. To enable the change tracking integration click the "Set Up Integration" button on the feature flag table contained within the Issue Details page. This will trigger a fly out which will guide you through the two step process. | ||||||||||||||||||||||||||||
Comment on lines
+3
to
+4
| ||||||||||||||||||||||||||||
| Sentry can track changes to feature flag definitions and report suspicious feature flag edits. To enable the changetracking integration click the "Set Up Integration" button on the feature flag table contained within the Issue Details page. This will trigger a fly out which will guide you through the twostep process. | |
| Sentry can track changes to feature flag definitions and report suspicious feature flag edits. To enable the change-tracking integration, click the "Set Up Integration" button on the feature flag table, which you'll find on the **Issue Details** page. This will trigger a flyout that will guide you through the two-step process. | |
| You can navigate to the **Issue Details** page by clicking any issue on the [**Issues**](https://sentry.io/orgredirect/organizations/:orgslug/issues/) page. | |
ghostDec 2, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Under the "Integrate Feature Flag Service" heading a Sentry webhook URL has been provided. Additionally, a link to LaunchDarkly's webhook registration interface has been provided. Paste the Sentry webhook URL into the input box labeled "URL" within the LaunchDarkly webhook registration UI. | |
| Next a signing secret must be created. Check the box that says "Sign this webhook". This will reveal an input element which contains your signing secret. Copy and paste this signing secret into the input box labeled "Secret" on the Sentry fly out. Click "Save Secret" in the Sentry UI, then click "Save Settings" in the LaunchDarkly UI, and you're done. Sentry will now accept and authenticate all inbound hooks to your organization's feature flag webhook endpoint. | |
| Under the "Integrate Feature Flag Service" section, you'll find a Sentry webhook URL and a link to LaunchDarkly's webhook registration interface. | |
| 1.**Register the Webhook:** Paste the Sentry webhook URL into the "URL" field in the LaunchDarkly [webhook integration UI](https://app.launchdarkly.com/settings/integrations/webhooks/new). | |
| 2.**Set the Signing Secret:** | |
| - Check the "Sign this webhook" box to reveal the signing secret. | |
| - Copy the secret and paste it into the "Secret" field in Sentry's configuration. | |
| - Click "Save Secret" in Sentry and "Save Settings" in LaunchDarkly. | |
| Once saved, Sentry will authenticate all incoming webhooks to your feature flag endpoint. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| ## Enable Change Tracking | ||
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| Change tracking requires registering a Sentry webhook with your feature flag provider. Set up varies by provider and is documented in detail [here](/product/explore/feature-flags/#change-tracking). | ||
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| <Alert level="warning" title="Next Steps"> | ||
| - **Track feature flag evaluations in other parts of your codebase.** If needed, you can set up evaluation tracking for more than one SDK. [Read the docs](/product/explore/feature-flags/#set-up-evaluation-tracking) to learn more. | ||
| - **Set up your change tracking webhook.** In order to take full advantage of the feature flag capabilities Sentry offers there is an additional setup step needed. Your feature flag provider needs to notify Sentry when a feature flag definition has changed. A Sentry webhook URL can be registered with your provider. Learn [how](/product/explore/feature-flags/#set-up-change-tracking). | ||
| </Alert> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| <Alert level="info" title="Currently in Beta"> | ||
| Feature flag change tracking and feature flag evaluation tracking is currently in open beta. | ||
cmanallen marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| </Alert> | ||

Uh oh!
There was an error while loading. Please reload this page.