Skip to content
Closed
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SCR-20241121-ltza

is the generic trigger different from this one that i've been using?

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ sidebar_order: 1
description: Learn about Sentry's LaunchDarkly integration. LaunchDarkly enables organizations to use Sentry errors as a metric in their LaunchDarkly experiments.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably update this description to be more generic -- right now it's about metrics, but we're adding FF info to this page too!

---

## Metrics Integration

This integration is maintained and supported by the company that created it. For more details or questions, feel free to contact [email protected].

## Install and Configure
Expand All @@ -23,3 +25,9 @@ The LaunchDarkly integration is only available to organizations with a Business
1. Navigate to **Settings > Integrations > LaunchDarkly**

2. Follow the full [LaunchDarkly installation instructions](https://docs.launchdarkly.com/integrations/sentry).

## Change Tracking Integration
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should mention that there's another step needed to set up feature flags completely (e.g. for eval tracking, they need to set up the platform-specific language for their sdk) & link to a full list of platforms (a product index page, when we create it, would make sense)

Copy link
Member

@michellewzhang michellewzhang Nov 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

link to eval tracking setup: /product/explore/feature-flags/#set-up-your-language-specific-sdk

PR here in case the title/link changes


Sentry offers a flag change tracking integration which allows Sentry to associate flag definition changes with errors that occurred in your application. To enable this integration, create a new <Link to="https://app.launchdarkly.com/settings/integrations?q=generic+trigger">"Generic Trigger"</Link> integration and paste the Sentry web hook URL generated by the Feature Flag Integration Modal. For information on how to generate a Sentry Web Hook URL visit the <PlatformLink to="/product/issues/issue-details/#feature-flags">feature flag integration documentation here</PlatformLink>. Learn more about LaunchDarkly's "Generic Triggers" <Link to="https://docs.launchdarkly.com/home/releases/triggers">here</Link>.

![LaunchDarkly Integration UI](./img/launchdarkly-ui.png)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions docs/product/issues/issue-details/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,28 @@ If you’ve enabled [Session Replay](/product/explore/session-replay/), you’ll

![Session Replay](./img/issue-replay.png)

## Feature Flags
If you’ve enabled a feature flag integration in your SDK you’ll have access to the feature flag table. If any flags were captured after the Sentry SDK's initialization and before the error event occurred, the table will contain rows of flag, evaluation-result pairs.

![Feature Flags](./img/feature-flags.png)

A timeline of feature flag changes is displayed in the releases graph. These annotations can help you diagnose when a feature flag change is responsible for a new bug report.

![Feature Flags](./img/suspect-flags-timeline.png)

Additionally, feature flag definition changes can be flagged as suspect when their modification occurs suspiciously close to the creation of an error event. Suspect feature flags are displayed are given a yellow highlight within the feature flag table.

![Feature Flags](./img/suspect-flags-table.png)

To enable suspect feature flags and feature flag change annotations, click the "Set Up Integration" button on the feature flag table and follow the instructions. Provider specific instructions are provided by clicking the "Read Docs" button.

![Feature Flags](./img/feature-flag-modal.png)

To learn more about enabling feature flag change tracking, visit the documentation for one of the supported providers below.

* [LaunchDarkly](/organization/integrations/feature-flag/launchdarkly/)


## Breadcrumbs

![Breadcrumbs](./img/issue-breadcrumbs.png)
Expand Down
Loading