Hacker News new | ask | show | jobs
by insaider 1342 days ago
Just wanted to highlight a relevant tool i recently discovered: Sentry.

It's already become invaluable in my .net apps for tracking down tricky errors, especially in the new MAUI apps.

Caught one just yesterday where the app was trying to call an api with decimals serialized with a comma because it was on a dutch user's phone! I imagine it would've been quite the headache catching that without sentry. Integrates with most tech-stacks too, not just .net btw

3 comments

Had to google Sentry, I've been using Raygun for ~10 years. These sort of tools are awesome. The weird errors that users seem to be able to produce but getting a full stack trace and being able to resolve them.

My previous job we used to send exceptions to email until we blew out the gmail account for the day (exceeded the receive amount) and boss switched over to raygun (~10 years ago), because of the global error handling we ended up fixing tons of errors we didn't even know our customers were experiencing. Product became more stable over time with the fixes.

In one company, the app error page would also be a "Submit Ticket" page where the poor human would be able to quickly explain what they were trying to do while I could gather all sorts of user-side information.
> with decimals serialized with a comma because it was on a dutch user's phone

If you're doing any kind of non-binary serialization/deserialization or file IO, it's always a good exercise to change the user and system regional settings when running tests.

Server runs de-DE, my dev machine is en-US. So many errors found with formatting/parsing because of it :D
As far as I'm aware these kinds of tools usually come with proprietary cloud services attached to them. Are there good local/FOSS versions?
These are all the SDK's for instrumenting various languages. As far as I know you are not able to run a self hosted version of their server side software which aggregates all of the traces and provides all of the value.
Yes, you are. Sentry famously started in open source (as a Django plugin!), and its source code is still available today.

https://develop.sentry.dev/self-hosted/ https://github.com/getsentry/self-hosted

Latest release 3 days ago.

I wasn't aware of that at all,. Thank you!