Flagsmith
Learn about Sentry's Flagsmith integrations.
Sentry can track flag evaluations as they happen within your application. Flag evaluations will appear in the "Feature Flag" section of the 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.
Flagsmith recommends using a OpenFeature SDK and Flagsmith Provider to evaluate feature flags. To track these evaluations, visit one of our supported languages pages for OpenFeature:
Sentry can track changes to feature flag definitions and report suspicious feature flag edits.
Enabling Change Tracking is a three-step process. To get started, visit the feature flags settings page in a new tab. Then follow the steps listed below.
- Click the "Add New Provider" button.
- One webhook secret can be registered per provider type.
- Select Generic in the dropdown that says "Select a provider".
- Register the webhook URL.
- Go to your Flagsmith project dashboard and navigate to the
/project/:projectid/integrations
page, which can be found by clicking "Integrations" on the top navigation bar. - Find the Sentry option, and click "Add Integration", which will open a modal.
- Select the Environment from which flag change events will trigger.
- Copy the provided Sentry webhook URL and paste it into "Webhook URL" in the Flagsmith "Sentry Integration" modal.
- Go to your Flagsmith project dashboard and navigate to the
- Set the Signing Secret.
- Still in the Flagsmith "Sentry Integration" modal, type in any string between 10 and 60 characters to use as your authorization token ("secret").
- Copy the authorization token from the previous step and paste it into the input box next to "Secret" in Sentry settings.
Once saved, Sentry will now accept and authenticate all inbound hooks to your organization's feature flag webhook endpoint.
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").