Top
Best
New

Posted by roywashere 4/18/2025

I gave up on self-hosted Sentry (2024)(www.bugsink.com)
186 points | 150 commentspage 3
johnklos 4/18/2025|
Software that's only available as x86 binaries and a whole system that needs 16 gigs of memory? It's not surprising that it comes from the corporate world and not the open source world.

I respect the fact that the Sentry people are honest about their teetering tower.

1vuio0pswjnm7 4/18/2025||
As a computer user I do not allow connections to sentry.io

For example, Firefox tries to connect

mdaniel 4/19/2025|
Heh, saying that in a thread about self hosting Sentry is pretty funny :-)

---

IMHO, the RUM tooling[1] is the worst offender, tracking mouse movement and keystrokes. At least Sentry is usually just trying to report JS kabooms

1: https://docs.datadoghq.com/real_user_monitoring/session_repl... and https://docs.newrelic.com/docs/browser/browser-monitoring/br... et al

h1fra 4/18/2025||
That's the inevitable evolution of any popular open-source product/company. Light and enterprise-ready is hardly compatible, and you can expect this from any project that has a cloud offering.
fuzzfactor 4/18/2025|
Not only open source.

I don't have servers like this but the author makes it easy to understand, and it applies to a lot of other things.

The Comparative Costs picture does tell it all.

The purpose of so much software is to reduce human and machine costs through time, and this apparently turned out to do just the opposite, apparently after long-term testing under real-world conditions.

Could be an unsurmountable fundamental structure of technical debt or something like that which metastasizes.

Then this, anyone could say about anything:

>I’m not going to run a piece of software that requires 16GB of RAM, has a complex installation script, and is known to be a pain to maintain. I’m not going to recommend it to anyone else either.

Easier said than done, sometimes it's the only option.

It's a "script". Maybe that's why you have to "rehearse" it more than once before you barely get it right, and then you might have to really go the extra mile (and have a bit of good fortune) before you can achieve a "command performance".

How do you think it feels these days to have to settle for this kind of thing in expensive proprietary software too?

m463 4/19/2025||
> It’s a ton of docker containers. Things will fail randomly or maybe with a lot of traffic, don’t remember well.

maybe they should put in a system to monitor the docker containers.

Brosper 4/18/2025||
Maybe Sentry don't want you to have self-hosted version?
conradfr 4/18/2025||
I actually learn from this post that there is a self-hosted version...
Brosper 4/28/2025||
I talked with them. They just offer it but don't offer any support for it.
neuroelectron 4/18/2025||
What gave you that impression?
mdaniel 4/19/2025||
I didn't downvote you but as one metric their docker-compose is 500 lines long https://github.com/getsentry/self-hosted/blob/25.4.0/docker-... as compared to back in the good-old days when it was basically python, redis, and postgres https://github.com/getsentry/self-hosted/blob/9.1.2/docker-c...
ghh 4/18/2025||
This isn't okay - the author is selling their own alternative to Sentry, 'reusing' Sentry's open-source client SDK's, while spreading FUD about self-hosting Sentry.

I've been self-hosting Sentry for over 10 years: Sentry is installed by running `git clone`, editing one or two configuration files, and running ./install.sh. It requires 16GB RAM if you enable the full feature set. That includes automatically recording user sessions on web or mobile for replay, and support for end-to-end tracing (so seeing which database queries your api asks for in response to a button tap in your mobile app).

Sentry has a wonderful self-hosting team that's working hard to make Sentry's commercial feature set available, for free, to everyone that needs a mature error tracking solution. You can talk to them on discord and they listen and help.

roywashere 4/18/2025||
Just for transparency, are you by any chance a member of this self-hosting team or a sentry employee? Is it a coincidence that your keybase name is georghendrik according to your profile, and the painter _Georg Hendrik_ Breitner painted a picture called "Sentry"? https://www.demesdagcollectie.nl/en/collection/hwm0055
Biganon 4/18/2025|||
This is some Olympics level of badly coping with valid and welcome criticism.

Georg Hendrik = "George Henry", pretty common name. The fact that Google returned a result when you searched "Georg Hendrik Sentry" should not be considered weird.

nevertoolate 4/18/2025|||
I was born 400 years ago in the Highlands of Scotland. I am Immortal, and I am not alone. Now is the time of the Gathering, when the stroke of the sword will release the power of the Quickening. In the end, there can be only one.
kelnos 4/18/2025|||
It seems like all the FUD in the article is copy-pasted from Sentry's own docs, though, no? And assuming Sentry's SDKs are open source and licensed appropriately (which seems to be the case), there's no issue (legal or moral) with directing users to use the Sentry SDK to communicate with a different, compatible product.

OP built a product because they were frustrated by Sentry's seeming hostility toward self-hosting. It doesn't feel like OP decided to build a competing product and then thought it would be a good marketing strategy to falsely push the idea that Sentry is difficult to self-host.

FWIW I've never self-hosted Sentry, but poking around at their docs around it turns me off to the idea. (I do need a Sentry-like thing for a new project I'm building right now, but I doubt I'll be using Sentry itself for it.) Even if it's possible to run with significantly less than 16GB (like 1GB or so), just listing the requirements that way suggests to me that running in a bare-bones, low-memory configuration isn't well tested. Maybe it's all fine! But I don't feel confident about it, and that's all that matters, really.

vanschelven 4/18/2025||
> OP built a product because they were frustrated by Sentry's seeming hostility toward self-hosting.

this is indeed the timeline.

vanschelven 4/18/2025||
TBH most of the FUD in the OP is straight from Sentry's own website.

Regarding using the SDKs, I'm telling my users to take Sentry at their word when they wrote "Permission is hereby granted, free of charge [..] to deal in the Software without restriction, including without limitation the rights to use"

mayli 4/18/2025||
I am not sure why there isn't a even lightweight sentry endpoint that does

  - save post body to folders (use uuid as folder name to avoid spam)
  - dir listing, and count number of entries
  - render posted json to html, highlight stacktrace with js
  - download raw json
  - rotate, compress old entries.
I give those requirements to LLM, and I get a pretty much working rust implementation after few tweaks. It uses <5M ram idle.
hobofan 4/18/2025|
That covers the most basic feature that Sentry has (one-off error reporting, with rudimentary statistics). Sure, if that's enough for you then go ahead, but for most people using Sentry that's only the tip of the iceberg.
cuu508 4/18/2025||
I was looking into moving away from managed Sentry for GDPR reasons. I was only using Sentry for notifications about unhandled exceptions in my app. All the fancy APM features I did not use. Grouping of similar exceptions, pretty display of tracebacks were nice but not essential.

In my Django app I wrote a logging handler that stores the log records (including traceback) in a database table. I can inspect the log records through Django admin, and a cron job sends me daily emails saying "X new log records in the last 24 hours" so I know to check them out. And that's it :-)

Of course, this does a lot less than Sentry, and has various limitations (e.g. what if the error is about the database being down...), but it fits my needs.

BTW, IIUC, Sentry in its early beginnings was also doing just that – logging to database: https://github.com/dcramer/django-db-log

linsomniac 4/18/2025|
TL;DR: Not so much "gave up" as "never tried" because I was scared away by 16GB RAM requirement.

FWIW, we've been self-hosting 2 instances (and purchase a third hosted instance), for, it looks like 8 years now, and it's had a few small bumps but hasn't been too bad. Our instances are running with 20GB of RAM, so pretty small. ~90% of updates have gone smoothly, which leaves 10% of updates that have had some sort of problem. Solutions have been found in the issue tracker in all our cases. We are a little afraid of doing updates, but do them every couple of months.

Sentry is an amazing piece of software and it is fantastic that they offer a self-hosing version, and all things considered it is a fairly easy self-host.

linsomniac 4/18/2025||
FYI: Just did the upgrade from 25.2.0 to 25.4.0 and it went smoothly.
vanschelven 4/18/2025||
You're right, but so am I... :-)

I "gave up" from the perspective of returning to Sentry after a couple of years, and finding an entirely different beast from the tool I loved before. At that point I indeed didn't make it past Sentry's own FUD.

More comments...