codeformuenster / muenster-jetzt

https://muenster-update.de/
MIT License
3 stars 0 forks source link

Error tracking #41

Open ubergesundheit opened 4 years ago

ubergesundheit commented 4 years ago

Sentry.io is a really nice (external) service to track errors of both front and backend.

Any thoughts?

bCyberBasti commented 4 years ago

Backend Errors are trackable by grafana and loki.. in theory it should be possible to catch frontend errors in js and send them to a special api endpoint where we log them.. but maybe sentry can do all of this for us and we don't even need it? would you used their payed hosting or our own installation? do they offer something like a free open source plan?

ubergesundheit commented 4 years ago

Sentry is paid but it has a single user developer plan for 0$ which we could use.

For Frontend projects, it allows precise information of when and how errors occurred, with stack trace prettification, release tracking, information about the users browser and device and (maybe not in the free version) automated issue creation (GitHub integration).

But it should be possible to either monkey patch a sentry error reporter or manually send errors to an endpoint of our own.

There is the option to self-host sentry, but I wouldn’t go down that road, because that’s another service to maintain.