418 Commits

Author SHA1 Message Date
Billy Vong
ef95b159fb
docs(): Add notice about breaking change for custom plugins (#985)
This adds a breaking change notice to our changelog regarding custom plugins:

The frontend bundle will be loaded asynchronously. This is a breaking change that can affect custom plugins that access certain globals in the django template. Please see https://forum.sentry.io/t/breaking-frontend-changes-for-custom-plugins/14184 for more information
2021-06-29 13:44:20 +03:00
Martin Janeček
e25e36b55c
fix: raise healthcheck interval for redis, memcached and postgres (#1007)
The 2s interval caused constantly high CPU usage. 30s interval with 3 retries is the Docker default and doesn't hurt the system that much.
Fixes #1000
2021-06-28 09:54:35 +00:00
fmartinou
f5411170ac
Update middlewares to latest stable versions (#1002)
This PR is a try to update most middlewares used by Sentry to latest stable versions.
[As mentioned in the forum](https://forum.sentry.io/t/middleware-version-compatibility/14353/2) I didn't update Postgresql & Clickhouse due to known issues.

I also :
- changed versions to immutable tags (MAJOR.MINOR.PATCH semver versions when possible).
- changed nginx to the Alpine variant
2021-06-25 11:55:34 +00:00
Marek Matys
1d49629229
Fixed typo (#996) 2021-06-17 11:34:32 +00:00
Burak Yigit Kaya
198b2751f5
docs: Fold README into self-hosted docs (#993)
Closes #983 and closes #790.

Refs getsentry/develop#355.
2021-06-15 16:38:22 -04:00
getsentry-bot
1fae7759c0 build: Set master version to nightly 2021-06-15 19:56:17 +00:00
getsentry-bot
9bbfec3cea Merge branch 'release/21.6.1' 2021-06-15 19:56:11 +00:00
getsentry-bot
aea6adc5b8 release: 21.6.1 21.6.1 2021-06-15 19:48:13 +00:00
getsentry-bot
b74416d3f0 build: Set master version to nightly 2021-06-15 19:28:39 +00:00
getsentry-bot
6dd70e9027 Merge branch 'release/21.6.0' 2021-06-15 19:28:34 +00:00
Burak Yigit Kaya
e0e9881d7c
Merge branch 'master' into release/21.6.0 21.6.0 2021-06-15 22:21:40 +03:00
Burak Yigit Kaya
91f40486ca
fix(ci): Run bulids on release branches
Follow up to #980
2021-06-15 22:21:26 +03:00
getsentry-bot
d05d9a6229 release: 21.6.0 2021-06-15 18:05:28 +00:00
Chad Whitacre
0cfaa73b05
Make a reset button (#988) 2021-06-09 16:59:50 +00:00
Burak Yigit Kaya
8d92667f4e
meta: Add some changelog (#984)
@billyvg has a breaking change coming up soon so let's use this as an opportunity to add a changelog. This changelog will only capture important announcements (such as this breaking change over at Sentry) and changes in this repo for now.
2021-06-07 20:13:37 +03:00
Burak Yigit Kaya
659e03e9cf
ref(craft): Modernize and rearrange Craft config (#980) 2021-06-03 16:22:01 +03:00
William Desportes
f4c3096245
feat: Add healthchecks for redis, memcached and postgres (#975)
Ref: #950
2021-06-02 18:53:07 +00:00
Jan Michael Auer
97e4e375cd
fix(test): Export test script (#978) 2021-05-31 14:44:51 +03:00
William Desportes
e20e6a3e54
ci: Add .gitattributes file to exclude unnecessary files from repo zips (#973)
Ref: #950
2021-05-30 11:33:53 +00:00
Filippo Pacifici
8dc84600c5
feat(cdc): Prepare the self hosted environment for the Change Data Capture pipeline (#938)
We will use Change Data Capture to stream WAL updates from postgres into clickhouse so that features like issue search will be able to join event data and metadata (from postgres) through Snuba.

This requires the followings:

A logical replicaiton plugin to be installed in postgres (https://github.com/getsentry/wal2json)
A service to run that streams from the replication log to Kafka (https://github.com/getsentry/cdc)
Datasets in Snuba.
This PR is preparing postgres to stream updates via the replication log.
The idea is to

download the the replication log plugin binary during install.sh
mount a volume with the binary when starting postgres
providing a new entrypoint to postgres that ensures everything is correctly configured.
There is a difference between how this is set up and how we do the same in the development environment.
In the development environment we download the library from the entrypoint itself and store it in a persistent volume, so we do not have to download it every time.
Unfortunately this does not work here as the postgres image is postgres:9.6 while it is postgres:9.6-alpine. This one does not come with either wget or curl. I don't think installing that in the entrypoint would be a good idea, so the download happens in install.sh. I actually think this way is safer so we never depend on connectivity for postgres to start properly.
2021-05-24 17:51:36 -07:00
Burak Yigit Kaya
d5e4e52d81
meta(gha): Deploy action issue-routing-helper.yml (#958) 2021-05-21 20:13:23 +00:00
getsentry-bot
93bf1b6db5 build: Set master version to nightly 2021-05-19 11:22:39 +00:00
Sentry Bot
e034097286
Merge releases/21.5.1 into master 2021-05-19 04:22:38 -07:00
getsentry-bot
ee240f041c release: 21.5.1 21.5.1 2021-05-19 11:14:39 +00:00
getsentry-bot
a2c315cf51 build: Set master version to nightly 2021-05-17 21:18:55 +00:00
Sentry Bot
243c20da9f
Merge releases/21.5.0 into master 2021-05-17 14:18:53 -07:00
getsentry-bot
864e184e3b release: 21.5.0 21.5.0 2021-05-17 21:10:58 +00:00
Burak Yigit Kaya
84312dc477
fix: Fix incorrect zookeeper mount path (#952)
Fixes #951, a regression introduced with #908.
2021-05-13 14:56:48 -04:00
Sébastien PIERRE
168f3b957f
feat: Add basic healthchecks for Zookeeper & Kafka (#948)
Add basic healthchecks on Zookeeper & Kafka containers to have a view on container status. These checks are quite basic because I have no knowledge at all on these components.

Co-authored-by: Sébastien Pierre <spi@dfakto.com>
2021-05-13 10:27:26 +00:00
Burak Yigit Kaya
67c2310e7f
meta(gha): Deploy action issue-status-helper.yml (#949) 2021-05-12 22:03:34 +03:00
Burak Yigit Kaya
1068326998
meta(gha): Deploy action issue-routing-helper.yml (#945) 2021-05-07 16:09:39 -04:00
Burak Yigit Kaya
f27eaef557
meta(gha): Deploy action issue-status-helper.yml (#943) 2021-05-06 16:18:46 -04:00
Burak Yigit Kaya
a95b9fa011
fix: Make relay depend on web for DNS resolution (#934)
This is a stop-gap solution to #918 until we figure out the negative DNS caching issue inside `relay`. This may also be due to Docker Compose making some assumptions/optimizations/limiting regarding cross-container access unless they are explicitly linked via the `depends_on` key.
2021-04-26 13:16:29 +03:00
Burak Yigit Kaya
60e947d4f7
fix: Fix .env path for test scripts (#928) 2021-04-22 13:02:11 -04:00
getsentry-bot
f3d0e3d193 build: Set master version to nightly 2021-04-21 22:39:58 +00:00
Sentry Bot
7189ab16b4
Merge releases/21.4.1 into master 2021-04-21 15:39:57 -07:00
getsentry-bot
e7a1101683 release: 21.4.1 21.4.1 2021-04-21 22:32:40 +00:00
Jan Michael Auer
37efaf2882
ref(relay): Remove comment from sample config (#926)
This comment has unprofessional tone and does not serve any purpose. Since this is copied to every onpremise installation and I keep copying this code to public issue comments, it's better removed.
2021-04-19 12:48:54 +00:00
getsentry-bot
662a773e57 build: Set master version to nightly 2021-04-15 19:27:57 +00:00
Sentry Bot
d4bb931768
Merge releases/21.4.0 into master 2021-04-15 12:27:56 -07:00
getsentry-bot
faf108863a release: 21.4.0 21.4.0 2021-04-15 19:20:03 +00:00
Burak Yigit Kaya
e0dde9c57b
fix: Add missing snuba transactions clean up service (#924)
Follow up to #920 and #923.
2021-04-15 18:20:39 +00:00
Lyn Nagara
35a45ea7ae
fix: Ensure snuba cleanup job runs on the correct storage (#923)
Follow up to #920.
2021-04-14 11:50:15 +03:00
Burak Yigit Kaya
257bccc96c
fix: test.sh should use the variable $_group (#921) 2021-04-12 16:43:09 -04:00
Stephen Cefali
dd5a7d430e
docs: explain changing version on Linux (#922)
Explains how to set the version on Linux where `sudo` is required. Based on this Stack overflow answer: https://stackoverflow.com/questions/8633461/how-to-keep-environment-variables-when-using-sudo/8636711#8636711
2021-04-12 18:52:00 +00:00
Lyn Nagara
aecc75b1c9
feat: Update storage target for Snuba consumer and replacer. (#920)
This change ensures that the Snuba consumer and replacer start
to fill in the new table. It should be applied once we have
backfilled data and are ready to cut over to the new storage.

Depends on https://github.com/getsentry/snuba/pull/1801
2021-04-12 20:23:53 +03:00
getsentry-bot
2223723fa1 build: Set master version to nightly 2021-04-08 21:59:17 +00:00
Sentry Bot
f85150d871
Merge releases/21.3.1 into master 2021-04-08 14:59:13 -07:00
getsentry-bot
315cbaa96d release: 21.3.1 21.3.1 2021-04-08 21:51:24 +00:00
Burak Yigit Kaya
2ab0590924
ci(test): Separate unit tests so they don't rely on integration tests (#910) 2021-03-30 15:02:40 -04:00