Skip to content

Send connected SDK message #7177

@smeubank

Description

@smeubank

Background

At initialization with a valid DSN we want that the SDK sends report to Sentry confirming the connection. And includes some information about what the SDK should be doing. This is really only needed on first init so ideally it is optimized to not send this message too often, or include any identifiable information about where/who it is coming from.

Proposal

Client reports could be reused to send a messsage to sentry on init, it can include some infromation about the SDK config/options being used, but scrubbed to have bare minimum necessary information to assist with Sentry product experience. Dependencies may be an option as well. To start only the message is required.

To ensure this message is not sent too often, we can in a browser environment store in local storage, something along the lines of init report sent:true. This should not have anything about the user and be anonymous while allowing to cut down on the number of requests sent.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions