plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Tracking errors in production

Open siaw23-retired opened this issue 7 years ago • 13 comments

As far as I can see we don't have any means to track errors on production. Some users will report errors here, most won't but we can automate these reports. I think error tracking is necessary. What do you guys think?

I'd like to suggest Rollbar. They have a free plan that we can use.

So from time to time we'd look in Rollbar and fix any error that occurs in production.

siaw23-retired avatar Mar 02 '19 21:03 siaw23-retired

@publiclab/reviewers @jywarren I think this is a good idea what do you think?

siaw23-retired avatar Mar 05 '19 16:03 siaw23-retired

@siaw23 , how about sentry?

shubhscoder avatar Mar 05 '19 18:03 shubhscoder

We can actually apply for a free account on sentry!

shubhscoder avatar Mar 05 '19 18:03 shubhscoder

Sentry is actually a better option IMO. I checked and didn't find anything free or how many reports they'll give for free so if we can apply for a free account then great! I like Sentry. Good choice @shubhscoder

siaw23-retired avatar Mar 05 '19 18:03 siaw23-retired

Thank you @siaw23. We can apply for a free account here https://sentry.io/for/open-source/ . I think @jywarren will have to signup on the behalf of public labs. Thank you!

shubhscoder avatar Mar 05 '19 18:03 shubhscoder

I've been looking for a solution like this for a while. I'm happy to go with whichever you find more useful, my preference being something we could conceivably self host in the future (with a libre license). Once we've signed up I can look at deploying it!

icarito avatar Mar 06 '19 01:03 icarito

Oh this is cool, i wasn't aware of services like this! ❤️

Any pros/cons between Sentry and Rollbar?

jywarren avatar Mar 06 '19 20:03 jywarren

Pros for Sentry is better UI and more accurate error reporting, Rollbar has worse UI, error reporting, line number are off often as far as I know...

siaw23-retired avatar Mar 06 '19 20:03 siaw23-retired

Opened https://github.com/publiclab/plots2/pull/4944

jywarren avatar Mar 07 '19 21:03 jywarren

Searching for open source program opt-in... https://sentry.io/settings/publiclab/

jywarren avatar Mar 07 '19 21:03 jywarren

And applied to their program!

jywarren avatar Mar 07 '19 22:03 jywarren

OK, i think this will start running when a) we're approved and b) we push #4944 to production.

jywarren avatar Mar 07 '19 22:03 jywarren

Not sure about the free option. You got any idea when they'll approve?

siaw23-retired avatar Mar 07 '19 22:03 siaw23-retired