8

Is there any way to lower the amount of dependent services and/or the amount of resources Sentry is using?

Because I am thinking whether a minimum of 8GB of RAM is worth having error tracking for a small amount of projects.

Or whether I should rather use simpler(?) self-hosted solutions like Exceptionless, Glitchtip, Coderr, Errbit or whatnot. I don't have experience with any of them because I mainly used Sentry so far. Therefore I would rather prefer to make Sentry more lightweight (if somehow possible).

Otherwise the Sentry-fork Glitchtip probably makes a good bet because it doesn't(?) rely on so many services yet.

alexanderadam
  • 415
  • 6
  • 17
  • If it's a "simple" project you likely can use sentry.io for free instead of spending the time and money to maintain your own instance. – Bruno Garcia Apr 14 '20 at 15:16
  • 2
    Sure, I obviously know that, which I _explicitly_ asked regarding the on-premise installation. But: **1.** I didn't claim that I have 'a "simple" project'. I'm looking for a self-hosted solution that is simpler regarding it's resources. **2.** Apart from Sentry and Coderr (it doesn't have a Docker image) the alternatives are quick and simple to install & maintain. I don't know how much resources they take. **3.** It obviously have various privacy advantages if I can host error data on own servers. So can I assume that it's _not_ possible to make the Sentry installation more lightweight? – alexanderadam Apr 15 '20 at 07:20
  • For anyone reading this: I'm currently trying Exceptionless which feels very fast and the whole setup uses much less resources on my machines. The major memory eaters are Redis and Elasticsearch and I didn't do anything yet to make them consume less (I'm using [the standard Docker setup](https://github.com/exceptionless/Exceptionless/blob/master/samples/docker-compose.yml)). at the moment. It might not yet have [a supported client for your language though](https://github.com/exceptionless?q=client). – alexanderadam Feb 07 '21 at 15:12
  • 1
    Hello, I started GlitchTip and want to note that being lightweight is a core value we have. It requires only PostgreSQL and Redis. – Bufke Apr 03 '21 at 14:32
  • 1
    @MaxMuster does Sentry run on a Pi? I mean, Sentry is the reference here. This is why I created this question in the first place. – alexanderadam Jun 04 '22 at 18:34

1 Answers1

2

The Sentry 10 release added a lot more dependencies and components than what we had in version 9. The minimum services required to run Sentry 10 are these:

  • Postgresql
  • Redis
  • Kafka
  • Zookeeper
  • Snuba api
  • Clickhouse server
  • Sentry

Note that some services may need additional services to function. For example, Kafka and Zookeeper both require having Java on the machine. If you are running all these services on the same machine, a decent machine is needed to handle the load.

King Holly
  • 846
  • 8
  • 19
Rohit Kumar
  • 669
  • 3
  • 9
  • 22