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
Signed-off-by: Husni Alhamdani <dhanielluis@gmail.com>
  • Loading branch information
husnialhamdani committed Jan 17, 2024
1 parent 21b8e82 commit dfb5fa6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/opentelemetry-collector/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: opentelemetry-collector
version: 0.78.0
version: 0.78.1
description: OpenTelemetry Collector Helm chart for Kubernetes
type: application
home: https://opentelemetry.io/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ data:
- from: attributes.log
to: body
type: move
retry_on_failure:
enabled: true
start_at: end
jaeger:
protocols:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
template:
metadata:
annotations:
checksum/config: 6f280dabe9aa8a9e0a08e73250811afcd12dcf181bdc64d8b22d14507a7a15bb
checksum/config: 690984dbf6a59837a87785587005bf8c6b320d7b29cc75d8c631e277d2eba6b9

labels:
app.kubernetes.io/name: opentelemetry-collector
Expand Down
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

0 comments on commit dfb5fa6

Please sign in to comment.