Skip to content

Commit 883d9ea

Browse files
authored
feat: add params for consumers (#1824)
1 parent 1595de8 commit 883d9ea

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

charts/sentry/templates/sentry/ingest/replay-recordings/deployment-sentry-ingest-replay-recordings.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ spec:
104104
- "--healthcheck-file-path"
105105
- "/tmp/health.txt"
106106
{{- end }}
107+
{{- if .Values.sentry.ingestReplayRecordings.maxPollIntervalMs }}
108+
- "--max-poll-interval-ms"
109+
- "{{ .Values.sentry.ingestReplayRecordings.maxPollIntervalMs }}"
110+
{{- end }}
111+
- "--"
107112
{{- if .Values.sentry.ingestReplayRecordings.livenessProbe.enabled }}
108113
livenessProbe:
109114
exec:

charts/sentry/templates/snuba/deployment-snuba-replays-consumer.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,11 @@ spec:
129129
- "--health-check-file"
130130
- "/tmp/health.txt"
131131
{{- end }}
132+
{{- if .Values.snuba.replaysConsumer.maxPollIntervalMs }}
133+
- "--max-poll-interval-ms"
134+
- "{{ .Values.snuba.replaysConsumer.maxPollIntervalMs }}"
135+
{{- end }}
136+
- "--"
132137
{{- if .Values.snuba.replaysConsumer.livenessProbe.enabled }}
133138
livenessProbe:
134139
exec:

charts/sentry/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,7 @@ sentry:
510510
nodeSelector: {}
511511
securityContext: {}
512512
containerSecurityContext: {}
513+
# maxPollIntervalMs: 30000
513514
# tolerations: []
514515
# podLabels: {}
515516
# it's better to use prometheus adapter and scale based on
@@ -1613,6 +1614,7 @@ snuba:
16131614
securityContext: {}
16141615
topologySpreadConstraints: []
16151616
containerSecurityContext: {}
1617+
# maxPollIntervalMs: 30000
16161618
# tolerations: []
16171619
# podLabels: {}
16181620
# autoOffsetReset: "earliest"

0 commit comments

Comments
 (0)