Send connected SDK message #7178
smeubank
started this conversation in
Features / New SDKs (Integrations) / Ideas
Replies: 2 comments 2 replies
-
Consider event processors, SDK vs user implementation |
Beta Was this translation helpful? Give feedback.
2 replies
-
@jan-auer please what are your thoughts on this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.
Beta Was this translation helpful? Give feedback.
All reactions