Skip to content

Commit

Permalink
use max_log_size setting
Browse files Browse the repository at this point in the history
Signed-off-by: ChrsMark <[email protected]>
  • Loading branch information
ChrsMark committed May 22, 2024
1 parent b83997a commit 6542e5e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ data:
include_file_path: true
operators:
- id: container-parser
max_log_size: 102400
type: container
retry_on_failure:
enabled: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
template:
metadata:
annotations:
checksum/config: 28302e07d6b7617cd4efc2990836ec590511ce7794f7ac6299f758bab7d2ead3
checksum/config: 13591c07675e7ecf99b358cc72e5e6cb69ff1bf556844db265ce3573c1462e53

labels:
app.kubernetes.io/name: opentelemetry-collector
Expand Down
1 change: 1 addition & 0 deletions charts/opentelemetry-collector/templates/_config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ receivers:
# parse container logs
- type: container
id: container-parser
max_log_size: {{ $.Values.presets.logsCollection.maxRecombineLogSize }}
{{- end }}

{{- define "opentelemetry-collector.applyKubernetesAttributesConfig" -}}
Expand Down

0 comments on commit 6542e5e

Please sign in to comment.