Sentry
Spotlight is built that you don’t need Sentry to run it. It can contain any kind of integration. However, Sentry is the first integration we’ve built for Spotlight and it’s a great way to get started.
If you want your Sentry SDKs to talk to the Sidecar, enable the spotlight setting. You don’t need a dsn for Spotlight to work.
In the Browser you don’t need to set spotlight: true, Spotlight.init() will automatically detect if Sentry is available and if so, hook into the SDK.
Sentry.init({ dsn: '___DSN___',});// In the frontend it's important that you init Spotlight after SentrySpotlight.init();Sentry.init({ dsn: '___DSN___', spotlight: process.env.NODE_ENV === "development",});sentry_sdk.init( dsn="___DSN___", # You should only load this in your development environment spotlight=bool(os.environ.get("DEV")),)\Sentry\init([ 'dsn' => '___DSN___', // You should only load this in your development environment 'spotlight' => App::environment(['local']),]);Sentry.init do |config| config.dsn = '___DSN___' # You should only load this in your development environment config.spotlight = Rails.env.development?endSentrySdk.Init(o =>{ o.Dsn = "___DSN___";#if DEBUG // You should only load this in your development environment o.EnableSpotlight = true;#endif});