Skip to content

Commit

Permalink
fix: correct order of arguments of sentry consumers (#1463) (#1464)
Browse files Browse the repository at this point in the history
  • Loading branch information
MemberIT authored Sep 17, 2024
1 parent cfb90ef commit 2861efa
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ spec:
- "--max-batch-size"
- "{{ .Values.sentry.ingestConsumerAttachments.maxBatchSize }}"
{{- end }}
- "--"
{{- if .Values.sentry.ingestConsumerAttachments.concurrency }}
- "--processes"
- "{{ .Values.sentry.ingestConsumerAttachments.concurrency }}"
{{- end }}
- "--"
{{- if .Values.sentry.ingestConsumerAttachments.livenessProbe.enabled }}
livenessProbe:
exec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,6 @@ spec:
- "--max-batch-size"
- "{{ .Values.sentry.ingestConsumerEvents.maxBatchSize }}"
{{- end }}
{{- if .Values.sentry.ingestConsumerEvents.concurrency }}
- "--processes"
- "{{ .Values.sentry.ingestConsumerEvents.concurrency }}"
{{- end }}
{{- if .Values.sentry.ingestConsumerEvents.logLevel }}
- "--log-level"
- "{{ .Values.sentry.ingestConsumerEvents.logLevel }}"
Expand All @@ -114,6 +110,10 @@ spec:
- "{{ .Values.sentry.ingestConsumerEvents.maxBatchTimeMs }}"
{{- end }}
- "--"
{{- if .Values.sentry.ingestConsumerEvents.concurrency }}
- "--processes"
- "{{ .Values.sentry.ingestConsumerEvents.concurrency }}"
{{- end }}
{{- if .Values.sentry.ingestConsumerEvents.livenessProbe.enabled }}
livenessProbe:
exec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,6 @@ spec:
- "--max-batch-size"
- "{{ .Values.sentry.ingestConsumerTransactions.maxBatchSize }}"
{{- end }}
{{- if .Values.sentry.ingestConsumerTransactions.concurrency }}
- "--processes"
- "{{ .Values.sentry.ingestConsumerTransactions.concurrency }}"
{{- end }}
{{- if .Values.sentry.ingestConsumerTransactions.logLevel }}
- "--log-level"
- "{{ .Values.sentry.ingestConsumerTransactions.logLevel }}"
Expand All @@ -114,6 +110,10 @@ spec:
- "{{ .Values.sentry.ingestConsumerTransactions.maxBatchTimeMs }}"
{{- end }}
- "--"
{{- if .Values.sentry.ingestConsumerTransactions.concurrency }}
- "--processes"
- "{{ .Values.sentry.ingestConsumerTransactions.concurrency }}"
{{- end }}
{{- if .Values.sentry.ingestConsumerTransactions.livenessProbe.enabled }}
livenessProbe:
exec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,6 @@ spec:
- "--healthcheck-file-path"
- "/tmp/health.txt"
{{- end }}
{{- if .Values.sentry.metricsConsumer.concurrency }}
- "--processes"
- "{{ .Values.sentry.metricsConsumer.concurrency }}"
{{- end }}
{{- if .Values.sentry.metricsConsumer.logLevel }}
- "--log-level"
- "{{ .Values.sentry.metricsConsumer.logLevel }}"
Expand All @@ -101,6 +97,10 @@ spec:
- "{{ .Values.sentry.metricsConsumer.maxPollIntervalMs }}"
{{- end }}
- "--"
{{- if .Values.sentry.metricsConsumer.concurrency }}
- "--processes"
- "{{ .Values.sentry.metricsConsumer.concurrency }}"
{{- end }}
{{- if .Values.sentry.metricsConsumer.livenessProbe.enabled }}
livenessProbe:
exec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,6 @@ spec:
- "--healthcheck-file-path"
- "/tmp/health.txt"
{{- end }}
{{- if .Values.sentry.genericMetricsConsumer.concurrency }}
- "--processes"
- "{{ .Values.sentry.genericMetricsConsumer.concurrency }}"
{{- end }}
{{- if .Values.sentry.genericMetricsConsumer.logLevel }}
- "--log-level"
- "{{ .Values.sentry.genericMetricsConsumer.logLevel }}"
Expand All @@ -101,6 +97,10 @@ spec:
- "{{ .Values.sentry.genericMetricsConsumer.maxPollIntervalMs }}"
{{- end }}
- "--"
{{- if .Values.sentry.genericMetricsConsumer.concurrency }}
- "--processes"
- "{{ .Values.sentry.genericMetricsConsumer.concurrency }}"
{{- end }}
{{- if .Values.sentry.genericMetricsConsumer.livenessProbe.enabled }}
livenessProbe:
exec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ spec:
- "--healthcheck-file-path"
- "/tmp/health.txt"
{{- end }}
- "--"
{{- if .Values.sentry.postProcessForwardTransactions.processes }}
- "--mode"
- "multiprocess"
- "--processes"
- "{{ .Values.sentry.postProcessForwardTransactions.processes }}"
{{- end }}
- "--"
{{- if .Values.sentry.postProcessForwardTransactions.livenessProbe.enabled }}
livenessProbe:
exec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ spec:
- "--max-batch-size"
- "{{ .Values.sentry.subscriptionConsumerGenericMetrics.maxBatchSize }}"
{{- end }}
- "--"
{{- if .Values.sentry.subscriptionConsumerGenericMetrics.concurrency }}
- "--processes"
- "{{ .Values.sentry.subscriptionConsumerGenericMetrics.concurrency }}"
{{- end }}
- "--"
{{- if .Values.sentry.subscriptionConsumerGenericMetrics.livenessProbe.enabled }}
livenessProbe:
exec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ spec:
- "--max-batch-size"
- "{{ .Values.sentry.subscriptionConsumerMetrics.maxBatchSize }}"
{{- end }}
- "--"
{{- if .Values.sentry.subscriptionConsumerMetrics.concurrency }}
- "--processes"
- "{{ .Values.sentry.subscriptionConsumerMetrics.concurrency }}"
{{- end }}
- "--"
{{- if .Values.sentry.subscriptionConsumerMetrics.livenessProbe.enabled }}
livenessProbe:
exec:
Expand Down
2 changes: 2 additions & 0 deletions charts/sentry/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,7 @@ sentry:
subscriptionConsumerGenericMetrics:
enabled: true
replicas: 1
# concurrency: 1
env: []
resources: {}
affinity: {}
Expand All @@ -790,6 +791,7 @@ sentry:
subscriptionConsumerMetrics:
enabled: true
replicas: 1
# concurrency: 1
env: []
resources: {}
affinity: {}
Expand Down

0 comments on commit 2861efa

Please sign in to comment.