2
0
Commit Graph

24 Commits

Author SHA1 Message Date
a2507c10e0 fix(superuser): Don't set INTERNAL_IPS to Docker network (#581)
`INTERNAL_IPS` is used to check whether to allow superuser access or not. Limiting this to the Docker internal network makes it impossible for anyone to reach admin pages with on-premise setup.

This is a follow up to #572 and it fixes #577.
2020-07-13 19:21:52 +03:00
75fe6c073b fix(ingest): Fix Relay auth issues and add e2e event ingestion test (#578)
This is a long-needed test that tests the whole pipeline from Nginx, Relay, to Kafka, and Snuba. The final missing piece is testing the Symbolicator integration.

This PR is also a follow up to #576 as it didn't solve the Relay issues fully (the earlier fix was a coincidence or is not as reliable as it seemed).

Fixes #486 (finally?).
2020-07-13 13:07:05 +03:00
1c9bfd9017 fix(relay): Fix relay cannot authenticate w/ Sentry (#576)
Fixes #486.

I finally figured out what the issue was: a missing `post-buffering` option to let Relay finish it's POST request for auth. This PR supersedes #543.
2020-07-11 00:08:14 +03:00
73213bc51f ref(relay): Remove PK and rely on INTERNAL_IPS (#572)
This patch adds `INTERNAL_IPS` definition to `sentry.conf.py` by sniffing the network from eth0 and relies on this for trusted Relays instead of the ALLOWLISTED PKs. This removes the necessity of syncing Relay PKs to `sentry.conf.py`.

This PR needs getsentry/sentry#19798 to work.
2020-07-10 23:53:50 +03:00
9d44b99c55 fix(slack): Point to newer docs, better defaults (#571)
* added new default going forward uncommented
* added link to new guide
* added support for new signing-secret
* slight rejig to config
2020-07-10 21:10:05 +03:00
a01d013617 fix(slack): Add note about legacy app flag for newly created bots (#563)
Co-authored-by: jack <jackc@strangeanimals.com.au>
2020-07-08 15:56:49 +03:00
3522a12325 ref(sentry): Remove explicit Discover v2 flags (#523)
Discover v2 is now enabled by default: getsentry/sentry#19023
2020-06-01 23:34:54 +03:00
e8d8cda688 feat(versioning): Add SENTRY_VERSION env var for sentry, snuba, relay (#509)
This is in preparation for the upcoming CalVer transition. Introduces a general `$SENTRY_VERSION` env variable, defaulting to `latest`.
2020-05-23 06:24:44 +03:00
9f39e3cea1 fix(uwsgi): Make sure uWSGI talks proper HTTP/1.1 (#499)
This patch brings back the HTTP/1.1 related settings for uWSGI to fix #486 as apparently Relay tries to talk to Sentry Web with keep alives where uWSGI terminates the connection unexpectedly. It also ports some configs for uWSGI and nginx from single-tenant.
2020-05-22 16:12:20 +03:00
a74a0cb221 feat(slack-integration): add reference to guide (#484)
This PR simply adds a reference to the guide for setting up the Slack integration. The url was obtained from [#249](https://github.com/getsentry/onpremise/issues/249#issuecomment-547117033).
2020-05-09 23:11:11 +03:00
b467e1c5b5 docs(sentry): Fix typo in example Sentry config (#471) 2020-05-06 17:54:00 +03:00
74c0d4c257 fix(nginx): Fix proxy settings for Sentry (#463)
Fixes #447.

This patch should also fix issuer regarding large uploads such as minidumps by turning off any buffering.
2020-05-04 13:36:05 +03:00
e97da7c56f feat(relay): Add Relay to onpremise installation (#421)
Co-Authored-By: Burak Yigit Kaya <byk@sentry.io>
2020-04-24 15:31:59 +03:00
a7c5a32e36 Fix regression from #407 for requirements install (#411)
Changing the sentry/Dockerfile to remove the WORKDIR caused the RUN install requirements to use the wrong directory as context.
2020-03-16 21:08:51 +03:00
5f7c18bd18 feat(config): Mount config as a volume to Sentry (#407)
This follows the best-practice of mounting the config folder as a volume and removes the need to rebuild sentry images for config changes. Partially addresses #314.
2020-03-12 20:14:46 +03:00
f2876131fc feat(discover): Enable Discover v2 (#398)
Also removes some obsolete feature switches.
2020-02-28 17:49:31 +03:00
fd9bd107df fix(config): Enable http-chunked-input for UWSGI (#376)
Fixes getsentry/sentry#16596
2020-02-03 19:15:40 +03:00
bc6d3b47e2 feat(config): Have better GitHub config examples (#327)
Better defaults and guidance regarding GitHub app settings after getsentry/sentry#16550.
2020-01-24 21:08:41 +03:00
73bf3f5ab4 fix(config): parse env variable as int (#359)
- parse SENTRY_EVENT_RETENTION_DAYS as integer in case it is defined as a string like in kubernetes
2020-01-24 21:04:39 +03:00
6587df3269 Changing search class name reference (#319)
Currently in sentry, both SnubaSearchBackend and EventsDatasetSnubaSearchBackend exist, and they are the same. 

This just points to the new (renamed) class so we can delete SnubaSearchBackend from sentry, as we only left it in to transition getsentry & onpremise.
2020-01-07 11:51:30 -05:00
3af61c8f55 fix(retention): Sync system.event-retention-days w/ cleanup (#308) 2019-12-30 23:07:17 +03:00
89e8053c40 fix(data): Use /data for persisting files and file caches (#295)
Moves sentry-data volume to /data mount point and sets all file-based storage settings to /data/files, /data/dsym-cache etc. accordingly. See 50ac550666/src/sentry/options/defaults.py (L45-L54)
2019-12-06 03:32:31 +03:00
83f52d1fe5 fix(tracing): Force-disable self-tracing on on-premise (#285) 2019-11-28 01:19:08 +03:00
5d064c2224 feat(sentry10): Make on-premise work for Sentry 10 (#220) 2019-11-12 02:18:59 +03:00