Skip to content

Export SpotlightBrowser Sentry integration #403

Closed
@Lms24

Description

@Lms24

If users run spotlight standalone/with the electron app, the current automatic SpotlightBrowser injection logic won't work. I propose we export the spotlightBrowserIntegration from the @spotlightjs/overlay and @spotlightjs/spotlight packages so that users can register the integration themselves in their browser apps and don't have to rely on the auto injection mechanism.

Important: We'll keep auto injection as-is (meaning it's on by default but can be deactivated). This is just an additional way to get events from the browser into spotlight.

### Tasks
- [ ] Export `spotlightBrowserIntegration`
- [ ] Add documentation

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions