From 51c610654cac84dff26ad3e918c879f5137e414e Mon Sep 17 00:00:00 2001 From: Anton Patsev Date: Wed, 18 Sep 2024 07:20:29 +0600 Subject: [PATCH 1/2] feat: add logLevel option to ingestConsumerAttachments --- .../deployment-sentry-ingest-consumer-attachments.yaml | 4 ++++ charts/sentry/values.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/sentry/templates/sentry/ingest/attachments/deployment-sentry-ingest-consumer-attachments.yaml b/charts/sentry/templates/sentry/ingest/attachments/deployment-sentry-ingest-consumer-attachments.yaml index 63d79fbda..2ec5d71ad 100644 --- a/charts/sentry/templates/sentry/ingest/attachments/deployment-sentry-ingest-consumer-attachments.yaml +++ b/charts/sentry/templates/sentry/ingest/attachments/deployment-sentry-ingest-consumer-attachments.yaml @@ -97,6 +97,10 @@ spec: - "--max-batch-size" - "{{ .Values.sentry.ingestConsumerAttachments.maxBatchSize }}" {{- end }} + {{- if .Values.sentry.ingestConsumerAttachments.logLevel }} + - "--log-level" + - "{{ .Values.sentry.ingestConsumerAttachments.logLevel }}" + {{- end }} - "--" {{- if .Values.sentry.ingestConsumerAttachments.concurrency }} - "--processes" diff --git a/charts/sentry/values.yaml b/charts/sentry/values.yaml index e3dab019c..6c9e4c907 100644 --- a/charts/sentry/values.yaml +++ b/charts/sentry/values.yaml @@ -313,7 +313,7 @@ sentry: # tolerations: [] # podLabels: {} # maxBatchSize: "" - + # logLevel: debug # it's better to use prometheus adapter and scale based on # the size of the rabbitmq queue autoscaling: From 73965edcf6501ea261f82bb9dfb0a9037488feae Mon Sep 17 00:00:00 2001 From: Anton Patsev Date: Wed, 18 Sep 2024 07:26:46 +0600 Subject: [PATCH 2/2] feat: add logLevel option to ingestConsumerAttachments --- charts/sentry/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/sentry/values.yaml b/charts/sentry/values.yaml index 6c9e4c907..2dc86a130 100644 --- a/charts/sentry/values.yaml +++ b/charts/sentry/values.yaml @@ -313,7 +313,7 @@ sentry: # tolerations: [] # podLabels: {} # maxBatchSize: "" - # logLevel: debug + # logLevel: info # it's better to use prometheus adapter and scale based on # the size of the rabbitmq queue autoscaling: