1151 Commits

Author SHA1 Message Date
Klemens Böswirth
4f6caf7a13
fix(install): add migrate-pgbouncer.sh to install.sh (#4030) 2025-11-10 17:37:12 +00:00
Reinaldy Rafli
976e06525b
fix: remove snuba uptime results consumer (#4027)
Saw this error on the self-hosted e2e tests:
```
snuba-uptime-results-consumer-1 | Error: Invalid value for '--storage': 'uptime_monitor_checks' is not one of 'spans', 'metrics_raw', 'errors', 'search_issues', 'generic_metrics_distributions_raw', 'generic_metrics_counters_raw', 'generic_metrics_sets_raw', 'generic_metrics_gauges_raw', 'eap_items', 'groupassignees', 'outcomes_raw', 'querylog', 'functions_raw', 'transactions', 'replays', 'profile_chunks', 'profiles', 'groupedmessages', 'group_attributes'.
```

Seems like we don't need that consumer anymore, since it's moved to EAP.
2025-11-08 02:29:17 +00:00
getsentry-bot
6ae40d837a build: Set master version to nightly
#skip-changelog
2025-10-15 19:18:46 +00:00
getsentry-bot
016fc417ec Merge branch 'release/25.10.0' 2025-10-15 19:18:44 +00:00
getsentry-bot
77a33346db release: 25.10.0 25.10.0 2025-10-15 18:07:56 +00:00
Reinaldy Rafli
60da8f6eb0
fix: geoip standalone script should check on CONTAINER_ENGINE variable first (#3982) 2025-10-15 20:31:03 +07:00
Reinaldy Rafli
c55b93bfa1
fix: missing -dir flag for seaweedfs (#3991) 2025-10-15 05:01:10 +07:00
Amin Vakil
da1f546bfb
Remove symbolicator volume once (#3994)
* Remove sentry-symbolicator only if it exists

* Remove unnecessary volume remove force flag
2025-10-11 07:07:40 +07:00
Amin Vakil
e1f003313e
Remove symbolicator external volume (#3992)
* Remove symbolicator volume creation command

* Remove symbolicator volume

* Create sentry-symbolicator on docker compose up

* Pass volume name to remove_command

* Remove sentry-symbolicator from unit test
2025-10-10 09:14:41 +07:00
Joris Bayer
b77c5a8097
chore(spans): Remove old snuba-spans consumer (#3989) 2025-10-09 18:43:40 +07:00
Amin Vakil
0ed356938b
Bump redis 6.2.20-alpine (#3988)
https://redis.io/blog/security-advisory-cve-2025-49844/
2025-10-07 14:20:07 -07:00
Reinaldy Rafli
5cf07c8888
ref: add continue-on-error for codecov action on self-hosted integration tests (#3978) 2025-10-01 16:54:00 +07:00
Reinaldy Rafli
143f58579f
ref: use dedicated healthcheck command for symbolicator & remove cron for symbolicator-cleanup (#3979) 2025-10-01 09:14:32 +00:00
Reinaldy Rafli
79b46fb495
fix(actions): include arch and compose_profiles information on cache keys (#3974)
Closes #3964
---------

Co-authored-by: Burak Yigit Kaya <byk@sentry.io>
2025-09-26 17:16:52 +01:00
Amin Vakil
663b86c108
ref: Remove proxy_next_upstream directives (#3973) 2025-09-26 14:45:09 +00:00
Javan Eskander
1640300332
fix: Unset the proxy when performing the seaweedfs health check (#3959) 2025-09-26 14:16:45 +00:00
Klemens Böswirth
2d11de51e5
fix: logic error in s3 install script (#3965) 2025-09-26 14:13:59 +00:00
Amin Vakil
37918fb464
Fix swap allocation in integration test (#3972)
* Check free space prior to offing swap

* Get hint about packages disk usage

* Comment self-hosted installation to speed up

* Revert "Comment self-hosted installation to speed up"

This reverts commit 257e57f9d067ec14dc1b04df9d53a91514aa96d1.

* Comment self-hosted installation

* Revert "Comment self-hosted installation"

This reverts commit f22beff1e57bc305548c1bfafbb73e4f049ccf5b.

* Revert "Get hint about packages disk usage"

This reverts commit f4fd43c31db469d5a89b2615440d1577dfd0a5eb.

* Remove jdk packages and their depended ons

* Remove man-db

* Remove microsoft packages

* Remove php packages

* Cleanup runner image prior to everything

* Remove all *jre* packages

* Remove jdk packages more aggressively

* Remove haskell directory

* Remove df -h commands
2025-09-26 20:55:35 +07:00
Mark Story
0ffcf0e126
chore(tasks) Remove reference to celery (#3962) 2025-09-25 00:44:49 +01:00
Amin Vakil
18b7a4d1cc
Respect uppercase proxy variables (#3949)
* Respect uppercase proxy variables

* Put http_proxy first
2025-09-23 21:01:30 +07: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
Moroine Bentefrit
8fc3efac78
fix: install behind a proxy (#3944)
Updated the s3cmd installation command to include proxy environment variables.
2025-09-19 14:07:51 +00:00
getsentry-bot
ec44e98813 build: Set master version to nightly
#skip-changelog
2025-09-17 14:42:18 +00:00
getsentry-bot
34e8e2f80b Merge branch 'release/25.9.0' 2025-09-17 14:42:16 +00:00
getsentry-bot
867004274e release: 25.9.0 25.9.0 2025-09-16 15:15:39 +00:00
Reinaldy Rafli
a222e3f8de
fix: able to setup nodestore multiple times (#3940)
* fix: able to setup nodestore multiple times

* fix(test): chmod issues
2025-09-16 15:01:13 +00:00
dependabot[bot]
407351fb07
build(deps): bump actions/create-github-app-token from 2.1.1 to 2.1.4 (#3936)
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 2.1.1 to 2.1.4.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](a8d6161485...6701853927)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: 2.1.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-15 14:39:10 +01: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
2e7a3ff7ad
feat: install script to migrate sentry.conf.py config to use pgbouncer (#3898) 2025-09-12 21:02:59 +07:00
Reinaldy Rafli
ce45294491
chore(deps): bump clickhouse to 25.3 (#3878)
* chore(deps): bump clickhouse to 25.3

* fix: wrong volume path for clickhouse default password:
2025-09-12 07:39:27 +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
dependabot[bot]
2be8c79d64
build(deps): bump actions/setup-python from 5 to 6 (#3927)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-09 08:41:05 +07:00
Frederik Spang
53004dcbc0
Add restart policy to pgbouncer service (#3925) 2025-09-06 05:32:00 +00:00
Reinaldy Rafli
e3e7789853
fix(tests): skip logs event test for errors-only (#3915) 2025-09-03 13:25:21 +01:00
Amin Vakil
85365f1149
Improve nginx depends_on policy (#3914) 2025-09-03 06:06:43 +07:00
Reinaldy Rafli
af32d373b2
test: run errors-only integration tests (#3910) 2025-09-03 06:05:57 +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
Reinaldy Rafli
de2139890d
fix: ensuring vroom permission should be skipped on errors-only (#3911)
* fix: ensuring vroom permission should be skipped on errors-only

* feat: enable swap on all runners

* feat: don't exit on install script
2025-09-02 21:35:33 +07:00
Reinaldy Rafli
67c32e883d
chore(deps): bump patches version (#3879)
Except nginx, they don't seem to have any breaking change. See https://nginx.org/en/CHANGES

Other than nginx, patches version are available.
2025-08-23 14:15:07 +00:00
Amin Vakil
b7bb06470e
Revert "increase postgres max_connections above 100 connections (#2740)" (#3899)
This reverts commit 7691addcb631fee42389896cf4eead0794f11a9d.
2025-08-23 13:36:20 +00: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
8641076786
chore: resolve GHA code scanning alerts (#3889)
Resolves https://github.com/getsentry/self-hosted/security/code-scanning/2

Resolves https://github.com/getsentry/self-hosted/security/code-scanning/4

Resolves https://github.com/getsentry/self-hosted/security/code-scanning/7

Resolves https://github.com/getsentry/self-hosted/security/code-scanning/14

Resolves https://github.com/getsentry/self-hosted/security/code-scanning/15
2025-08-19 19:39:30 +01:00
Iven Schlenther
657a685cbe
fix(enhancement): search for permissions on docker container instead of host and combine it in one command for performance enhancement (#3890)
* fix(enhancement): ensure correct ownership check before setting permissions of profiles

* fix(enhancement): search for permissions on docker container instead of host and combine it in one command for performance enhancement

Resolves #3882

* fix(enhancement): search for permissions on docker container instead of host
2025-08-19 19:39:04 +01:00
dependabot[bot]
7ef1b36b90
build(deps): bump actions/create-github-app-token from 2.1.0 to 2.1.1 (#3885)
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](0f859bf9e6...a8d6161485)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: 2.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-18 19:05:35 +01:00
dependabot[bot]
dc5ac0792d
build(deps): bump actions/checkout from 4 to 5 (#3883)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-18 19:02:54 +01:00
getsentry-bot
17e638f8f0 build: Set master version to nightly
#skip-changelog
2025-08-15 20:03:08 +00:00
getsentry-bot
a0669e55a8 Merge branch 'release/25.8.0' 2025-08-15 20:03:06 +00:00