DEV Community

Sai Sandeep Vaddi
Sai Sandeep Vaddi

Posted on

2 1

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?

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

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

nextjs tutorial video

Youtube Tutorial Series 📺

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series