Skip to content

Commit

Permalink
feat: enable compaction for OT storage
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikołaj Świątek committed Aug 23, 2022
1 parent 26df252 commit 53dd8ed
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- feat: store Sumo credentials for the setup Job in a Secret [#2466]
- feat: enable compaction for OT storage [#2486]

### Changed

Expand All @@ -23,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#2472]: https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/2472
[#2474]: https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/2474
[#2479]: https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/2479
[#2486]: https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/2486
[#2485]: https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/2485
[Unreleased]: https://github.com/SumoLogic/sumologic-kubernetes-collection/compare/v2.14.1...main

Expand Down
15 changes: 15 additions & 0 deletions deploy/helm/sumologic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3757,6 +3757,11 @@ metadata:
file_storage:
directory: /var/lib/storage/otc
timeout: 10s
compaction:
on_start: true
on_rebound: true
# Can't be /tmp yet, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/13449
directory: /var/lib/storage/otc
pprof: {}
exporters:
## Configuration for Sumo Logic Exporter
Expand Down Expand Up @@ -4135,6 +4140,11 @@ metadata:
file_storage:
directory: /var/lib/storage/otc
timeout: 10s
compaction:
on_start: true
on_rebound: true
# Can't be /tmp yet, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/13449
directory: /var/lib/storage/otc
pprof: {}
exporters:
sumologic/containers:
Expand Down Expand Up @@ -4912,6 +4922,11 @@ otellogs:
file_storage:
directory: /var/lib/storage/otc
timeout: 10s
compaction:
on_start: true
on_rebound: true
# Can't be /tmp yet, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/13449
directory: /var/lib/storage/otc
pprof: {}
service:
telemetry:
Expand Down
4 changes: 4 additions & 0 deletions tests/helm/logs_otc/static/basic.output.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ data:
endpoint: http://${LOGS_METADATA_SVC}.${NAMESPACE}.svc.cluster.local:4318
extensions:
file_storage:
compaction:
directory: /var/lib/storage/otc
on_rebound: true
on_start: true
directory: /var/lib/storage/otc
timeout: 10s
health_check: {}
Expand Down
4 changes: 4 additions & 0 deletions tests/helm/metadata_logs_otc/static/basic.output.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ data:
source_name: '%{_sourceName}'
extensions:
file_storage:
compaction:
directory: /var/lib/storage/otc
on_rebound: true
on_start: true
directory: /var/lib/storage/otc
timeout: 10s
health_check: {}
Expand Down
4 changes: 4 additions & 0 deletions tests/helm/metadata_logs_otc/static/templates.output.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ data:
source_name: '%{_sourceName}'
extensions:
file_storage:
compaction:
directory: /var/lib/storage/otc
on_rebound: true
on_start: true
directory: /var/lib/storage/otc
timeout: 10s
health_check: {}
Expand Down

0 comments on commit 53dd8ed

Please sign in to comment.