Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion services/sentry/.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
SENTRY_IMAGE=ghcr.io/getsentry/sentry:26.6.0
SNUBA_IMAGE=ghcr.io/getsentry/snuba:26.6.0
RELAY_IMAGE=ghcr.io/getsentry/relay:26.6.0
SYMBOLICATOR_IMAGE=ghcr.io/getsentry/symbolicator:26.6.0
SYMBOLICATOR_IMAGE=ghcr.io/getsentry/symbolicator:26.10.1
TASKBROKER_IMAGE=ghcr.io/getsentry/taskbroker:26.10.0
VROOM_IMAGE=ghcr.io/getsentry/vroom:26.6.0
UPTIME_CHECKER_IMAGE=ghcr.io/getsentry/uptime-checker:26.6.0
Expand Down
2 changes: 2 additions & 0 deletions services/sentry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Sentry 26.x is a multi-service stack. All images are pulled from GitHub Containe
| **Profiling** (feature-complete only) | vroom + seaweedfs + vroom-cleanup |
| **Uptime** (feature-complete only) | uptime-checker |

`kafka-init` creates the core error-processing and taskworker topics idempotently before Snuba services start.

### Profiles

| Profile | Containers | RAM |
Expand Down
19 changes: 13 additions & 6 deletions services/sentry/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ x-snuba-defaults: &snuba_defaults
<<: *depends_on-healthy
kafka:
<<: *depends_on-healthy
kafka-init:
<<: *depends_on-healthy
redis:
<<: *depends_on-healthy
environment:
Expand Down Expand Up @@ -248,13 +250,18 @@ services:
- sentry
command:
- bash
- -c
- -ec
- |
kafka-topics --bootstrap-server kafka:9092 --create --if-not-exists \
--topic taskworker --replication-factor 1 --partitions 1 && sleep infinity
rm -f /tmp/topics-ready
for topic in events event-replacements outcomes outcomes-billing group-attributes taskworker; do
kafka-topics --bootstrap-server kafka:9092 --create --if-not-exists \
--topic "$$topic" --replication-factor 1 --partitions 1
done
touch /tmp/topics-ready
sleep infinity
restart: unless-stopped
healthcheck:
test: [ "CMD-SHELL", "kafka-topics --bootstrap-server kafka:9092 --describe --topic taskworker 2>/dev/null | grep -q taskworker" ]
test: [ "CMD-SHELL", "test -f /tmp/topics-ready" ]
interval: 5s
timeout: 10s
retries: 10
Expand Down Expand Up @@ -778,7 +785,7 @@ services:
- feature-complete

symbolicator:
image: "${SYMBOLICATOR_IMAGE:-ghcr.io/getsentry/symbolicator:26.10.0}"
image: "${SYMBOLICATOR_IMAGE:-ghcr.io/getsentry/symbolicator:26.10.1}"
container_name: sentry-symbolicator
volumes:
- sentry-symbolicator:/data
Expand All @@ -799,7 +806,7 @@ services:
max-file: "50"

symbolicator-cleanup:
image: "${SYMBOLICATOR_IMAGE:-ghcr.io/getsentry/symbolicator:26.10.0}"
image: "${SYMBOLICATOR_IMAGE:-ghcr.io/getsentry/symbolicator:26.10.1}"
container_name: sentry-symbolicator-cleanup
volumes:
- sentry-symbolicator:/data
Expand Down
Loading