-
-
Notifications
You must be signed in to change notification settings - Fork 230
Description
Problem Statement
One of the first lines on the Spotlight about page is
One of the great benefits of this approach is you get the power of Sentry’s telemetry without needing to utilize Sentry’s production monitoring.
The blogpost about the dotnet v4 SDK also says
It’s a tool to help you see all of Sentry’s telemetry data directly in your development environment, without the need to send anything to Sentry itself.
However this does not seem to be possible, since the SDK will not initialise Sentry without a valid DSN and wil not send anything to Spotlight.
Solution Brainstorm
Requested: when EnableSpotlight = true is passed to SentrySdk.Init, Sentry is always initialized even if there is no DSN.
Optional: when Spotlight is enabled, ignore transaction sample rate setting and send everything to Sentry, while still using the configured rate to send to Sentry.
I did not test if the requested behaviour is present in other SDKs, except for the in-browser JS SDK. That one requires a separate Spotlight.init() call outside of Sentry.init and does work without a DSN. For the other SDKs, Spotlight is turned on inside Sentry.init so might also ignore Spotlight if there is no DSN.
Metadata
Metadata
Assignees
Labels
Fields
Give feedbackProjects
Status
Status