Skip to content

Commit

Permalink
enable filelog with retry_on_failure as default config
Browse files Browse the repository at this point in the history
  • Loading branch information
husnialhamdani committed Jan 16, 2024
1 parent 96902f6 commit a906b6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions charts/opentelemetry-collector/templates/_config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 0 additions & 4 deletions charts/opentelemetry-collector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -144,7 +141,6 @@ config:
- batch
receivers:
- otlp
- filelog
metrics:
exporters:
- debug
Expand Down

0 comments on commit a906b6a

Please sign in to comment.