Detailed minimum requirements

I am looking for an on-premise Sentry setup and I don’t know what minimum resources to give to this project.

The on-premise doc recommends at lest 2400MB of RAM, but what about the CPU and the disk space?

Also, it looks like this hardware requirement is under-estimated: https://github.com/getsentry/onpremise/issues/616

This project will have an internal purpose only first with 2 or 3 “big” project and a dozen of micro-services plugged on it.

What would you recommend for this kind of setup?

Regards

We currently don’t have any specific recommendations but we are planning to update the minimum requirements with some real-life data soon. Your needs would greatly change based on your burst rate and steady state rate though, so hard to prescribe a solution with the little information you have provided here.

Did a quick setup of sentry currently listening on one project not sending so much reports, and my 13Go server disk is already full.

The fault to kafka. I changed the retention config with KAFKA_LOG_RETENTION_HOURS: 12.

This free some spaces, but I am not sure: What is the goal of kafka for sentry? Do we need to save so much logs?

Kafka is the main message pipeline between various services for storing events and related data. Logs are needed to recover from potential issues. With your setting for instance, you’d lose all data older than 12 hours in case Kafka gets overwhelmed or some other thing happens. We defensively set this to 24 hours (it used to be 7 days before by default :scream:).

Circling back here … @soullivaneuh Do you have a better handle on minimum requirements now that you have more experience with Sentry under your belt? If you can give some notes on your setup then we can update the docs for the next person. :slight_smile:

1 Like

Why you say nothing about required RAM? I’m buyed a server with 1 GB, and trying to install. Wasting time for seeing this:
FAIL: Expected minimum RAM available to Docker to be 2400 MB but found 981 MB

It’s disrespect for your users!

wha wha what…?
Theres a file called “README.md” (link: onpremise/README.md at master · getsentry/onpremise · GitHub ) it contains this info:

Requirements

  • Docker 19.03.6+
  • Compose 1.24.1+
  • 8 GB RAM

Sure you can argue “It didnt say 8gb before!?”. No it did not. it said:

Minimum Hardware Requirements:

  • You need at least 2400MB RAM

Wow, just wow. Loosing faith in humanity.

Edit: is it now you say “I was kidding, it was just a prank brah”. Must be right? You got me real good there! :rofl:

2 Likes

May be another good place for this information is here https://develop.sentry.dev/self-hosted/ ?

Sorry if i saying too much aggressive. I’m not native englesh speaker.

1 Like

Yup, we are tracking this here: Fold README into develop.sentry.dev/self-hosted/ · Issue #790 · getsentry/onpremise · GitHub

If you are eager, you can submit a PR for this as both are fully open sourced and accepting contributions. Source for self-hosted docs are here: develop/src/docs/self-hosted at master · getsentry/develop · GitHub

The language was not too aggressive but the exclamation mark was and I think the meaning of an exclamation mark is pretty clear in all latin-based languages? :slight_smile:

Joking aside, we are here to help and sorry that you got frustrated. We did mention this on the README as @Alexander mentioned but I agree that it can also live on the self-hosted docs.

2 Likes