diff --git a/charts/opentelemetry-collector/templates/_config.tpl b/charts/opentelemetry-collector/templates/_config.tpl index ee5ccebd3..7488e9e88 100644 --- a/charts/opentelemetry-collector/templates/_config.tpl +++ b/charts/opentelemetry-collector/templates/_config.tpl @@ -196,6 +196,8 @@ receivers: exclude: [ /var/log/pods/{{ .Release.Namespace }}_{{ include "opentelemetry-collector.fullname" . }}*_*/{{ include "opentelemetry-collector.lowercase_chartname" . }}/*.log ] {{- end }} start_at: end + retry_on_failure: + enabled: true {{- if .Values.presets.logsCollection.storeCheckpoints}} storage: file_storage {{- end }} diff --git a/charts/opentelemetry-collector/values.yaml b/charts/opentelemetry-collector/values.yaml index 017f4f089..28dd7c792 100644 --- a/charts/opentelemetry-collector/values.yaml +++ b/charts/opentelemetry-collector/values.yaml @@ -109,9 +109,6 @@ config: endpoint: ${env:MY_POD_IP}:14268 thrift_compact: endpoint: ${env:MY_POD_IP}:6831 - filelog: - retry_on_failure: - enabled: true otlp: protocols: grpc: @@ -144,7 +141,6 @@ config: - batch receivers: - otlp - - filelog metrics: exporters: - debug