Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change buffer params #392

Merged
merged 3 commits into from
Feb 4, 2020
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
1 change: 1 addition & 0 deletions deploy/helm/sumologic/conf/buffer.output.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ compress gzip
flush_interval "#{ENV['FLUSH_INTERVAL']}"
flush_thread_count "#{ENV['NUM_THREADS']}"
chunk_limit_size "#{ENV['CHUNK_LIMIT_SIZE']}"
queued_chunks_limit_size "#{ENV['QUEUE_CHUNK_LIMIT_SIZE']}"
overflow_action drop_oldest_chunk
2 changes: 2 additions & 0 deletions deploy/helm/sumologic/templates/events-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ spec:
value: {{ .Values.sumologic.numThreads | quote }}
- name: CHUNK_LIMIT_SIZE
value: {{ .Values.sumologic.chunkLimitSize | quote }}
- name: QUEUE_CHUNK_LIMIT_SIZE
value: {{ .Values.sumologic.queueChunkLimitSize | quote }}
- name: TOTAL_LIMIT_SIZE
value: {{ .Values.sumologic.totalLimitSize | quote }}
{{- if .Values.sumologic.fluentd.persistence.enabled }}
Expand Down
2 changes: 2 additions & 0 deletions deploy/helm/sumologic/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ spec:
value: {{ .Values.sumologic.numThreads | quote }}
- name: CHUNK_LIMIT_SIZE
value: {{ .Values.sumologic.chunkLimitSize | quote }}
- name: QUEUE_CHUNK_LIMIT_SIZE
value: {{ .Values.sumologic.queueChunkLimitSize | quote }}
- name: TOTAL_LIMIT_SIZE
value: {{ .Values.sumologic.totalLimitSize | quote }}
- name: SOURCE_CATEGORY
Expand Down
4 changes: 3 additions & 1 deletion deploy/helm/sumologic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ sumologic:
## Increase number of http threads to Sumo. May be required in heavy logging clusters
numThreads: 4

chunkLimitSize: "100k"
chunkLimitSize: "1m"

queueChunkLimitSize: 128

totalLimitSize: "128m"

Expand Down
10 changes: 8 additions & 2 deletions deploy/kubernetes/fluentd-sumologic.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ data:
flush_interval "#{ENV['FLUSH_INTERVAL']}"
flush_thread_count "#{ENV['NUM_THREADS']}"
chunk_limit_size "#{ENV['CHUNK_LIMIT_SIZE']}"
queued_chunks_limit_size "#{ENV['QUEUE_CHUNK_LIMIT_SIZE']}"
overflow_action drop_oldest_chunk
common.conf: |-
<source>
Expand Down Expand Up @@ -354,6 +355,7 @@ data:
flush_interval "#{ENV['FLUSH_INTERVAL']}"
flush_thread_count "#{ENV['NUM_THREADS']}"
chunk_limit_size "#{ENV['CHUNK_LIMIT_SIZE']}"
queued_chunks_limit_size "#{ENV['QUEUE_CHUNK_LIMIT_SIZE']}"
overflow_action drop_oldest_chunk

---
Expand Down Expand Up @@ -529,7 +531,9 @@ spec:
- name: NUM_THREADS
value: "4"
- name: CHUNK_LIMIT_SIZE
value: "100k"
value: "1m"
- name: QUEUE_CHUNK_LIMIT_SIZE
value: "128"
- name: TOTAL_LIMIT_SIZE
value: "128m"

Expand Down Expand Up @@ -650,7 +654,9 @@ spec:
- name: NUM_THREADS
value: "4"
- name: CHUNK_LIMIT_SIZE
value: "100k"
value: "1m"
- name: QUEUE_CHUNK_LIMIT_SIZE
value: "128"
- name: TOTAL_LIMIT_SIZE
value: "128m"
- name: SOURCE_CATEGORY
Expand Down