Skip to content

Commit

Permalink
[processor/memorylimiter] Remove deprecated ballast_size_mib config f…
Browse files Browse the repository at this point in the history
…rom examples (#9085)

Co-authored-by: Alex Boten <[email protected]>
  • Loading branch information
mar4uk and Alex Boten authored Apr 5, 2022
1 parent 88e62c6 commit 27feee4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
9 changes: 3 additions & 6 deletions exporter/sapmexporter/examples/signalfx-collector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,12 @@ processors:
#action: insert
# Enabling the memory_limiter is strongly recommended for every pipeline.
# Configuration is based on the amount of memory allocated to the collector.
# The configuration below assumes 2GB of memory. In general, the ballast
# should be set to 1/3 of the collector's memory, the limit should be 90% of
# The configuration below assumes 2GB of memory. In general, the limit should be 90% of
# the collector's memory up to 2GB, and the spike should be 25% of the
# collector's memory up to 2GB. In addition, the "--mem-ballast-size-mib" CLI
# flag must be set to the same value as the "ballast_size_mib". For more
# information, see
# collector's memory up to 2GB.
# For more information, see
# https://github.com/open-telemetry/opentelemetry-collector/blob/main/processor/memorylimiterprocessor/README.md
memory_limiter:
ballast_size_mib: 683
check_interval: 2s
limit_mib: 1800
spike_limit_mib: 500
Expand Down
9 changes: 3 additions & 6 deletions exporter/sapmexporter/examples/signalfx-k8s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,12 @@ data:
#action: insert
# Enabling the memory_limiter is strongly recommended for every pipeline.
# Configuration is based on the amount of memory allocated to the collector.
# The configuration below assumes 2GB of memory. In general, the ballast
# should be set to 1/3 of the collector's memory, the limit should be 90% of
# The configuration below assumes 2GB of memory. In general, the limit should be 90% of
# the collector's memory up to 2GB, and the spike should be 25% of the
# collector's memory up to 2GB. In addition, the "--mem-ballast-size-mib" CLI
# flag must be set to the same value as the "ballast_size_mib". For more
# information, see
# collector's memory up to 2GB.
# For more information, see
# https://github.com/open-telemetry/opentelemetry-collector/blob/main/processor/memorylimiterprocessor/README.md
memory_limiter:
ballast_size_mib: 683
check_interval: 2s
limit_mib: 1800
spike_limit_mib: 500
Expand Down

0 comments on commit 27feee4

Please sign in to comment.