From 81e6cd24a8eff38585a7037a8f7a31c981e86696 Mon Sep 17 00:00:00 2001 From: Anton Patsev <10828883+patsevanton@users.noreply.github.com> Date: Fri, 4 Oct 2024 10:42:48 +0600 Subject: [PATCH] docs: enhance workerEvents configuration with scalability recommendations (#1506) --- charts/sentry/values.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/charts/sentry/values.yaml b/charts/sentry/values.yaml index 11b04c740..2e569b594 100644 --- a/charts/sentry/values.yaml +++ b/charts/sentry/values.yaml @@ -254,8 +254,10 @@ sentry: # allows to dedicate some workers to specific queues workerEvents: + ## If the number of exceptions increases, it is recommended to enable workerEvents enabled: false queues: "events.save_event,post_process_errors" + ## When increasing the number of exceptions and enabling workerEvents, it is recommended to increase the number of their replicas replicas: 1 # concurrency: 4 env: [] @@ -1933,10 +1935,10 @@ kafka: # Note that snuba component might fail if you set `hooks.snubaInit.kafka.enabled` to `false` and remove the topics from this default topic list. topics: - name: events - config: - "message.timestamp.type": LogAppendTime ## Number of partitions for this topic # partitions: 1 + config: + "message.timestamp.type": LogAppendTime - name: event-replacements - name: snuba-commit-log config: @@ -2023,6 +2025,8 @@ kafka: - name: ingest-attachments - name: ingest-transactions - name: ingest-events + ## If the number of exceptions increases, it is recommended to increase the number of partitions for ingest-events + # partitions: 1 - name: ingest-replay-recordings - name: ingest-metrics - name: ingest-performance-metrics