Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ht sentry #3

Open
wants to merge 438 commits into
base: master
Choose a base branch
from
Open

Update ht sentry #3

wants to merge 438 commits into from

Conversation

thomashypertrack
Copy link

No description provided.

BYK and others added 30 commits September 4, 2020 22:49
Fixes an issue where we recommend adding TLS terminating Nginx into the docker-compose file. This is no longer recommended as we already have an nginx instance there for routing purposes.

Fixes getsentry#653.
The code assumed GNU getopt, which is not the default on many platforms, notably OSX.

Fixes getsentry#656, and replaces getsentry#659.
Closes getsentry#616, supersedes getsentry#651

Adds an option to reduce max memory usage of Clickhouse server. Sets it to 30% of all available RAM as the default.

Co-authored-by: Renaud Chaput <[email protected]>
This is for the onpremise release on Sept 15th.

The new migration system has a migration to handle recreating the
transaction table if the old one is present, we no longer need to do
this in `install.sh`.
GitHub team pointed us to docker/compose#3586 as the likely root cause and some digging around revealed got us to https://git.io/JUn7p as a potential fix, which we are trying here.
Closes getsentry#279, supercedes getsentry#306. This is much simpler and safer now that we have `nginx` in front of everything.

Thanks a lot @larsnystrom!
Fixes getsentry#502 and applies the suggestions from there:

- Number of partitons=1 (from 40)
- Log retention to 1 day (from 7 days)

These settings should be more suited towards the scale this repo is intended for.

NOTE: The partition count change will only affect new installs unless `sentry-kafka` and related volumes are cleaned.
Fixes getsentry#672

I split this PR up into 4 commits. The first one is the bare minimum for the issue. The rest are just consistency corrections that we neckbeards at irc://chat.freenode.net/%23bash would always make.
We need `docker-compose ps -a` for CI so we were already using 1.24.1, this aligns the rest with that.

For Docker, there are a bunch of network-related fixes in 19.03.12 and prior (DNS fallback and IPv6 advertising) that we'd like to have to see if they are going to fix some reported connectivity issues w/ onpremise.
@xbenjii reported the following error on getsentry#629:
>You requested maxclients of 10000 requiring at least 10032 max file descriptors.

Increasing this limit by default makes sense to make Redis more available to heaveier loads.
Probably this is not needed anymore after getsentry/sentry#20984 is merged, but just in case
Our relay connection wasn't behaving correctly because of some missing config in our `sentry.conf.py`. Also, we didn't have the performance module enabled because of a missing feature flag.

That's why an entry in the documentation regarding this would be nice.
This fixes a serious bug in install.sh where it ignored externaly set env variable values such as `SENTRY_IMAGE` in favor of the ones defined in `.env`, essentially making all our e2e tests usless.
We were relying on the public DSN field coming first from the API and with Python 3, that's not the case to the tests were failing. This PR makes DSN extraction a bit more robust while still avoiding a full-fledged JSON parser.
- Change minimal Docker version to the one in `install.sh`
- Add an extra link to the documentation
- Change the existing link to point to the correct one.
This is to ensure clean shutdown of Celery, with fully drained queues. This is needed as versions may change the event format and not be backwards compatible. FWIW this is a hacky workaround without a strong guarantee that the queues will be empty. Ideally we'd shutdown everything first, spin up the workers and check for queues being drained every second or so.
EricsonMacedo and others added 30 commits October 15, 2021 21:21
Check if docker compose v2, CLI, is available and get semantic version
from it, or fallback to get semantic version out of docker-compose v1
when checking minimum requirements during install.sh script

Fixes getsentry#962
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.