Skip to content

Commit d3578b1

Browse files
committed
Add documentation for the upcoming Sentry integration
1 parent bd2e7d6 commit d3578b1

File tree

3 files changed

+45
-1
lines changed

3 files changed

+45
-1
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: Sentry Integration
3+
description: Integrate Flagsmith with Sentry
4+
sidebar_label: Sentry
5+
hide_title: true
6+
---
7+
8+
![Sentry logo](/img/integrations/sentry-logo.svg)
9+
10+
Integrate Flagsmith with Sentry to enable feature flag
11+
[Change Tracking](https://docs.sentry.io/product/issues/issue-details/feature-flags/#change-tracking).
12+
13+
:::tip
14+
15+
Along with _Change Tracking_, Sentry also offers
16+
[Evaluation Tracking](https://docs.sentry.io/product/issues/issue-details/feature-flags/#evaluation-tracking).
17+
Integrating with _Evaluation Tracking_ is currently only possible via our
18+
[OpenFeature provider](/clients/openfeature.md).
19+
20+
:::
21+
22+
## Integration Setup
23+
24+
1. **In Sentry**
25+
1. Visit the
26+
[feature flags settings page](https://sentry.io/orgredirect/organizations/:orgslug/settings/feature-flags/change-tracking/)
27+
in a new tab.
28+
1. Click the "Add New Provider" button.
29+
1. Select "Generic" in the dropdown that says "Select a provider".
30+
1. Copy the provided Sentry webhook URL — we'll use that soon.
31+
1. **Do not close this page!** We're not done yet.
32+
1. **In Flagsmith**
33+
1. Go to Integrations > Sentry > Add Integration.
34+
1. Choose the Environment from which Sentry will receive feature flag change events.
35+
1. Paste the URL copied above into "Sentry webhook URL".
36+
1. Copy the secret from "Webhook secret".
37+
1. Click "Save". ✅
38+
1. **Back to Sentry**
39+
1. Paste the secret copied above.
40+
1. Click "Add Provider". ✅
41+
42+
Flag change events will now be sent to Sentry, and should be displayed in issue details. For more information, visit
43+
Sentry's [Issue Details page documentation](https://docs.sentry.io/product/issues/issue-details/#feature-flags).

docs/docs/integrations/webhook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ more. The process is as follows:
1414

1515
## Integration Setup
1616

17-
1. Write an endpoint that accepts the [JSON schema](#webhook-json-schema) defined below
17+
1. Write an endpoint that accepts the [JSON schema](#webhook-json-schema) defined below.
1818
2. Add the integration in Flagsmith, providing your URL created in the step above.
1919
3. You can also provide a Secret which will be [hashed and included in the HTTP header](#webhook-signature). This will
2020
allow you to verify that the Webhook has come from Flagsmith.
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)