Skip to content

Commit

Permalink
Make sure filelog receiver uses file_storage for checkpointing (signa…
Browse files Browse the repository at this point in the history
…lfx#567)

* added storage config in filelog receiver
  • Loading branch information
hvaghani221 authored Nov 1, 2022
1 parent 348ef4b commit c30393f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## Unreleased

### Fixed

- Make sure filelog receiver uses file_storage for checkpointing (#567)

## [0.62.0] - 2022-10-28

### Changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ receivers:
# Disable force flush until this issue is fixed:
# https://github.com/open-telemetry/opentelemetry-log-collection/issues/292
force_flush_period: "0"
storage: file_storage
operators:
{{- if not .Values.logsCollection.containers.containerRuntime }}
- type: router
Expand Down
1 change: 1 addition & 0 deletions rendered/manifests/otel-logs/configmap-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ data:
type: move
poll_interval: 200ms
start_at: beginning
storage: file_storage
fluentforward:
endpoint: 0.0.0.0:8006
hostmetrics:
Expand Down
2 changes: 1 addition & 1 deletion rendered/manifests/otel-logs/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
app: splunk-otel-collector
release: default
annotations:
checksum/config: 80bcec2a6da99668578b6aab5edbeeff588954fb73096787c0b71e9ce2a5cd75
checksum/config: 430f0a00ab87eeb44d982c337a8b5461c3f78b1152d4f7cf4657b1d60b155365
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down

0 comments on commit c30393f

Please sign in to comment.