-
-
Couldn't load subscription status.
- Fork 1.7k
feat(flags): Adds LaunchDarkly and OpenFeature integrations #14207
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
Conversation
…try-javascript into aliu/launch-darkly
…try-javascript into aliu/launch-darkly
…ag field and methods
…ration feat(flags): Add OpenFeature integration
…tion-abstraction ref(flags): Refactor LaunchDarkly integration to reusable functions
packages/browser/src/index.ts
Outdated
| export { makeBrowserOfflineTransport } from './transports/offline'; | ||
| export { browserProfilingIntegration } from './profiling/integration'; | ||
| export { spotlightBrowserIntegration } from './integrations/spotlight'; | ||
| export { copyFlagsFromScopeToEvent, insertFlagToScope } from './utils/featureFlags'; |
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.
Let's remove these exports - they shouldn't be public
|
Just for reference for the next time @aliu39 , please make sure to use squash merge :) No big deal, and we know it is not ideal that we cannot enforce this right now in this repo, so it's a bit of a manual thing sadly 😬 |
Adds browser integrations for tracking feature flag evaluations through the LaunchDarkly JS SDK and OpenFeature Web SDK
Notion doc summarizing our goal, constraints, and potential approaches: https://www.notion.so/sentry/Feature-Flags-JavaScript-SDK-1358b10e4b5d805288abe1a4fede75ed?pvs=4. This PR implements approach 1.
Also see https://develop.sentry.dev/sdk/expected-features/#feature-flags
Ref
Decisions:
LDInspectionFlagUsedHandler) separately fromSentry.init(). Unlike python, it's not possible to do this when instantiating the integration.Both integrations are live and verified to work, in
DOCS:
launchdarkly
openfeature
feature flags product index