DEV Community

Sai Sandeep Vaddi
Sai Sandeep Vaddi

Posted on

Is collecting Sentry exceptions part of telemetry?

This is for folks who use some kind of exception collection system like Sentry.

I want to include sentry.io to collect error reports.

It is an electron app. The app is installed on user's machines so once installed, I will get exception reports from many places and may be very difficult change the settings if user choses not to download new versions.

My question is, is collecting sentry exception reports considered collecting Telemetry and should take user's permission first?

If so, can you please tell me how to dynamically disable sending in Sentry if user opts-out. I don't see any such option in the API.

Sentry allows to remove ip_address and email before sending the event to their server. I've removed collecting ip_address. There is no registration for my app. So there is no other data like email is collected anyway.

Sentry also seems to give options to trace performance. How helpful is that?

Top comments (2)

Collapse
 
stereoplegic profile image
Mike Bybee • Edited

It's a good idea to make as much data collection optional as possible, whether you make it opt-in or opt-out. Ideally the latter scenario would come with a warning that it's on by default if you opt (pun intended) to go that route.

With a conditional import, if they opt out (/don't opt in), don't import Sentry.

Collapse
 
saisandeepvaddi profile image
Sai Sandeep Vaddi

Thank you