91 Commits

Author SHA1 Message Date
Reinaldy Rafli
fe477b41d9
feat: statsd configuration through environment variables (#4031)
* feat: statsd configuration through environment variables

* feat: provide statsd config via environment variables for relay and symbolicator

* fix: default statsd value to localhost

* Update sentry/sentry.conf.example.py
2025-11-14 03:37:23 +00:00
Reinaldy Rafli
275e7d032c
ref: sound SENTRY_DISALLOWED_IPS on the configuration file (#3981)
* ref: sound SENTRY_DISALLOWED_IPS on the configuration file

To not mislead people and to prevent time spent scrolling on GitHub issues just to fix why requests to private IP addresses are not working.

* chore: commented out for visibility purposes
2025-11-14 10:10:45 +07:00
Marian Šimeček
3af221e4d4
fix: broken link to Errors-Only Mode docs (#4032)
Co-authored-by: Marian Šimeček <marian.simecek@gmail.com>
2025-11-12 04:19:29 +00:00
Mark Story
b4723a0c6f
chore(tasks): Remove the worker and cron containers (#3946)
These are replaced by the `taskworker` and `taskscheduler` containers

Refs STREAM-433
2025-09-19 21:47:41 +07:00
Reinaldy Rafli
b091611020
docs: provide information for SENTRY_AIR_GAP flag on Django config file (#3935)
* docs: provide information for SENTRY_AIR_GAP flag on Django config file

* Apply suggestions from code review

Co-authored-by: Amin Vakil <info@aminvakil.com>

* Apply suggestions from code review

Co-authored-by: Amin Vakil <info@aminvakil.com>

---------

Co-authored-by: Amin Vakil <info@aminvakil.com>
2025-09-15 08:11:25 +02:00
Burak Yigit Kaya
84f904f7a1
feat: Use S3 node store with seaweedfs (#3498)
* feat: Use S3 node store with garage

* lol, fix bash

* moar bash

* lol

* hate bash

* fix moar bash

* Add healthcheck to garage service

Co-authored-by: Reinaldy Rafli <aldy505@proton.me>

* revert +x

* fix healthcheck, fix config

* add env var for garage size

* use better compression level

* simpler garage config

* add migration support

* feat: use seaweedfs as nodestore backend (#3842)

* feat: seaweedfs as s3 nodestore backend

* fix: 'server' was missing for seaweed

* feat: remove minimum volume free space

* feat: specify hostname on ip

* fix: grpc port on seaweed should be `-{service}.port.grpc` instead of `-{service}.grpcPort`

* fix: wrong access key & secret key; use localhost for internal comms

* fix: create index directory

* test: add sentry-seaweedfs volume into expected volumes

* debug: aaaaaaaaaaaaaaaaaaaaaaarrrrggggggghhhhhhhhhhhhhhh

* test: correct ordering for expected volumes

* chore: seaweedfs healthcheck to multiple urls

See https://stackoverflow.com/a/14578575/3153224

* chore: add swap for arm64 runners

* ci: debug memory issues for arm64 runners

* ci: turn off swapfile first

Turns out the arm64 runners already have 3GB of swap

* feat: nodestore config update behind a prompt/flag

* feat: set s3 lifecycle policy

* fix: seaweed is a busybox

* fix: try xml policy

* fix: go back to simplified json

* Revert "fix: go back to simplified json"

This reverts commit 2f1575dfe33db6f781b09d09b01f5382716b8826.

* chore: reword debug lifecycle policy

* fix: don't pollute APPLY_AUTOMATIC_CONFIG_UPDATES variable

---------

Co-authored-by: Reinaldy Rafli <github@reinaldyrafli.com>
2025-09-13 07:48:56 +07:00
Mark Story
440b6585fd
feat(tasks): Remove taskworker option override and add worker healthcheck (#3933)
feat(tasks) Remove taskworker option override and add worker healthcheck

Along with getsentry/sentry#99374 and this change taskworkers will be
enabled by default in self-hosted. I've left the celery workers active
to smooth over any tasks that are in-flight during an upgrade.

Add a worker healtcheck as we have one now.

Refs STREAM-450
2025-09-13 07:24:31 +07:00
Reinaldy Rafli
7164e22494
feat: enable issue-views flag (#3922) 2025-09-12 07:17:53 +07:00
Reinaldy Rafli
8ad9916999
feat: query against eap dataset instead of metrics dataset for spans (#3923) 2025-09-12 05:08:06 +07:00
Reinaldy Rafli
f5773e8ed5
feat: enable Logs feature (#3912)
* feat: enable Logs feature

* feat: enable swap on all runners

See ce819b8d99
2025-09-02 10:21:03 -07:00
Frederik Spang
2862432828
Add pgbouncer (#3884)
* Add patch for pgbouncer

* pgcat over pgbouncer

* Add patch for .env file

* Apply patches and add initial pgcat tolm file

* feat: hardcode pgcat image

* Fixes from review

* Align usernames defaults

* Remove postgres from default depends_on; Covered by pgcat by extension

* Set user and password - pgcat maybe doesnt support host auth trust

* Pool name maybe has to match, for some reason

* Use healthcheck from pgcat PR

* Reduce pool size, leave some for healthchecks and other clients running

* Start pgcat for bash scripts with postgres

* Update docker-compose.yml

* Use pgbouncer

* Revert to TRUST method
2025-08-23 20:18:13 +07:00
Reinaldy Rafli
d57613714c
chore(features): cleanup feature flags grouped by its' category (#3843) 2025-08-06 07:05:36 +07:00
Mark Story
3f48e35813
feat: Continue using celery in self-hosted for now (#3845)
Disable taskworkers for self-hosted until the documentation has been
published.

Refs getsentry/sentry#96966
2025-08-04 08:07:35 +07:00
Reinaldy Rafli
84d0d23af8
feat(features): add profiling-view flag (#3837)
Closes https://github.com/getsentry/sentry/issues/95752
2025-07-29 13:17:23 +03:00
Nikita Korolev
a2447aa480
Cleanup unused feature flags (#3820)
* remove organizations:sso-rippling

https://github.com/getsentry/sentry/pull/31515

* remove organizations:metrics-extraction

https://github.com/getsentry/sentry/pull/69860

* remove organizations:user-feedback-ingest

https://github.com/getsentry/sentry/pull/78097

* remove organizations:user-feedback-replay-clip

https://github.com/getsentry/sentry/pull/87771

---------

Co-authored-by: ds <ds@local>
2025-07-20 07:04:09 +07:00
Reinaldy Rafli
91b42a9878
feat: Swap trace-view-v1 feature flag with visibility-explore-view (#3801) 2025-07-14 20:49:21 +07:00
Reinaldy Rafli
3e9e1ec367
fix: set harakiri Django option to 30s (#3792)
* fix: set harakiri Django option to 30s

Closes https://github.com/getsentry/self-hosted/issues/1573

From @guoard and @aminvakil who found the issue of "uWSGI reports full listen queue" was caused mostly by workers taking longer times to finish. For folks with bigger Sentry installation, they might want to increase the `proxy_read_timeout` and `harakiri` values to a longer (acceptable) time.

See the GitHub issue linked above for more details.

* feat: document 'harakiri' option instead of making it the default

* Update sentry.conf.example.py

Co-authored-by: Amin Vakil <info@aminvakil.com>

* Update sentry.conf.example.py

Co-authored-by: Amin Vakil <info@aminvakil.com>

---------

Co-authored-by: Amin Vakil <info@aminvakil.com>
2025-07-11 16:19:14 +01:00
Evan Purkhiser
06d0fb1715
feat(uptime): Enable uptime in self-hosted (#3787) 2025-07-07 16:23:50 +00:00
Reinaldy Rafli
d3a068df84
feat: make system.secret-key configurable from environment variables (#3783) 2025-07-02 16:12:47 +07:00
Reinaldy Rafli
0fce96cc11
chore: provide detailed note for sentry endpoint settings (#3780)
Follow up for https://github.com/getsentry/self-hosted/pull/3747
2025-06-25 22:07:43 +00:00
yildizozgur
43d7d96721
feat: enable customization sentry DSN endpoint (#3747)
feat: enable customization sentry DSN endpoint

Update sentry/sentry.conf.example.py
2025-06-19 01:07:12 +00:00
Reinaldy Rafli
4c973e0824
feat(features): enable continuous profiling (#3742) 2025-06-12 07:55:54 +07:00
Reinaldy Rafli
e684c7e3bd
chore: prune removed feature flags on main repository (#3731) 2025-06-04 06:44:58 +01:00
Nikita Korolev
9e085a0f78
chore: cleanup obsolete feature flags (#3701)
* remove obsolete SENTRY_RELEASE_HEALTH

removed in https://github.com/getsentry/sentry/pull/68226

* remove unused feature flags

removed in https://github.com/getsentry/sentry/pull/32010

* remove session-replay-enable-canvas

removed in https://github.com/getsentry/sentry/pull/87762
2025-05-16 10:53:41 +01:00
anthony sottile
241b58dd22
ref: remove SENTRY_USE_BIG_INTS (always True) (#3687) 2025-05-01 10:18:23 -07:00
Reinaldy Rafli
0970b144f5
feat(sentry): add dynamic sampling feature to config (#3631) 2025-03-24 14:09:06 +00:00
Reinaldy Rafli
d63138d8b7
feat(features): enable session replay canvas (#3619) 2025-03-17 14:33:46 +00:00
Reinaldy Rafli
30f8d0125f
feat(features): enable trace view (#3617) 2025-03-14 13:46:30 +00:00
Reinaldy Rafli
9486a832eb
feat: provide monitoring-related configurations (#3611)
In accordance with https://github.com/getsentry/sentry-docs/pull/12660
2025-03-10 20:44:40 +00:00
Reinaldy Rafli
aebe5542d4
chore: clearer message for errors-only mode (#3487) 2024-12-21 20:59:30 +00:00
Reinaldy Rafli
817fde205f
ref: remove suggested fix (#3446) 2024-11-27 09:53:07 -08:00
Burak Yigit Kaya
db21c6cc55
Revert "Revert "ref(feedback): remove issue platform flags after releasing issue types"" (#3403)
Revert "Revert "ref(feedback): remove issue platform flags after releasing is…"

This reverts commit 7574a49542319aab09c879a17ac40658e9f6d0d9.
2024-10-31 22:32:29 +00:00
Burak Yigit Kaya
7574a49542
Revert "ref(feedback): remove issue platform flags after releasing issue types" (#3402)
Revert "ref(feedback): remove issue platform flags after releasing issue type…"

This reverts commit 72c5e59ed41e966cf4e0857b69d9258ff16e2ea4.

https://github.com/getsentry/self-hosted/pull/3397#issuecomment-2442142424
2024-10-28 20:02:23 +00:00
Andrew Liu
72c5e59ed4
ref(feedback): remove issue platform flags after releasing issue types (#3397) 2024-10-28 16:58:38 +00:00
Reinaldy Rafli
9a2f4e1844
ref: span normalization allowed host config (#3245)
Co-authored-by: Hubert Deng <hubert.deng@sentry.io>
2024-10-10 07:54:39 -07:00
Reinaldy Rafli
5910c02cc4
ref: allow hosted js sdk bundles (#3365)
* ref: allow hosted js sdk bundles


---------

Co-authored-by: Burak Yigit Kaya <ben@byk.im>
2024-10-07 16:03:28 -07:00
Andrew Liu
8595228be3
ref(feedback): cleanup topic rollout option (#3276) 2024-08-17 00:58:28 +00:00
Andrew Liu
9b815ac58d
Revert "ref(feedback): cleanup topic rollout option" (#3262)
Revert "ref(feedback): cleanup topic rollout option (#3256)"

This reverts commit d64f72fafaf5937636df29fd108d471c63671aeb.
2024-08-12 18:55:04 +00:00
Andrew Liu
d64f72fafa
ref(feedback): cleanup topic rollout option (#3256) 2024-08-12 11:05:26 -07:00
Reinaldy Rafli
0b11564e36
feat: enable user feedback feature (#3193)
* feat: enable user feedback feature
2024-08-01 12:01:17 -07:00
Alex Bouma
cd7c460e15
Use CDN by default for JS SDK Loader (#3213)
Co-authored-by: Hubert Deng <hubert.deng@sentry.io>
2024-07-30 13:29:14 -07:00
Hubert Deng
fd2f9fa74c
Fix: errors only config flag (#3220)
fix bug with errors only flag
2024-07-23 11:14:55 -07:00
Hubert Deng
485d3ffd2f
Add errors only self-hosted infrastructure (#3190) 2024-07-22 10:23:05 -07:00
Reinaldy Rafli
e39ac04ccc
feat: add insights feature flags (#3152)
* feat: add insights feature flags

* feat: add span metrics extractions addons feature flag
2024-07-08 17:37:50 -07:00
Pierre Massat
ede1e6f836
ref(spans): Add new feature flags needed (#3092)
* ref(spans): Add new feature flags needed

* Add new UI flags

* Remove addons ingest flag as we're not releasing addons yet

* Remove obsolete flags
2024-05-29 10:32:30 -07:00
edwardgou-sentry
8b6ba0db54
fix(performance): Add spans-first-ui flag to enable starfish/performance module views in ui (#2993)
Adds spans-first-ui flag to enable displaying starfish/performance modules in ui
2024-04-23 15:11:11 -04:00
edwardgou-sentry
20150f06d7
fix(spans): Adds organizations:standalone-span-ingestion flag to default config (#2936)
Adds organizations:standalone-span-ingestion flag to default config
2024-04-04 10:16:18 -04:00
Jann Kleen
437bddd201
Remove duplicate feature flags (#2899) 2024-03-18 09:13:35 -07:00
Pierre Massat
f64b0fb130
feat(spans): Ingest spans (#2861) 2024-03-11 20:52:11 +00:00
Iven Schlenther
2f5e5c5b5b
simplify if for open-ai-suggestion (#2732)
* simplify if for open-ai-suggestion
2024-02-28 11:20:00 -08:00