File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
docs/platforms/javascript/common/configuration/integrations Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,10 @@ The [LaunchDarkly](https://launchdarkly.com/) integration tracks feature flag ev
5151import * as Sentry from ' @sentry/browser' ;
5252import * as LaunchDarkly from ' launchdarkly-js-client-sdk' ;
5353
54- Sentry .init ({integrations: [Sentry .launchDarklyIntegration ()]});
54+ Sentry .init ({
55+ dsn: " ___PUBLIC_DSN___" ,
56+ integrations: [Sentry .launchDarklyIntegration ()]
57+ });
5558
5659const ldClient = LaunchDarkly .initialize (
5760 ' my-client-ID' ,
Original file line number Diff line number Diff line change @@ -37,7 +37,10 @@ The [OpenFeature](https://openfeature.dev/) integration tracks feature flag eval
3737import * as Sentry from ' @sentry/browser' ;
3838import { OpenFeature } from ' @openfeature/web-sdk' ;
3939
40- Sentry .init ({integrations: [Sentry .openFeatureIntegration ()]});
40+ Sentry .init ({
41+ dsn: " ___PUBLIC_DSN___" ,
42+ integrations: [Sentry .openFeatureIntegration ()]
43+ });
4144
4245const client = OpenFeature .getClient ();
4346client .addHooks (new Sentry.OpenFeatureIntegrationHook ());
You can’t perform that action at this time.
0 commit comments