Skip to content

Commit aee4a66

Browse files
authored
Remove ballast extension entirely from components. (#5429)
* Remove ballast extension entirely from components. * Update CHANGELOG.md * Remove more references * Remove more references
1 parent 86e0e8f commit aee4a66

File tree

21 files changed

+34
-97
lines changed

21 files changed

+34
-97
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### 🛑 Breaking changes 🛑
6+
7+
- (Splunk) Remove deprecated memory ballast extension ([#5429](https://github.com/open-telemetry/opentelemetry-collector/pull/5429))
8+
59
### 🚩Deprecations 🚩
610

711
- (Splunk) Deprecate the jaegergrpc monitor ([#5428](https://github.com/signalfx/splunk-otel-collector/pull/5428))

cmd/otelcol/config/collector/logs_config_linux.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
# - SPLUNK_HEC_URL: The Splunk HEC endpoint URL, e.g. https://ingest.us0.signalfx.com/v1/log
88
# - SPLUNK_INGEST_URL: The Splunk ingest URL, e.g. https://ingest.us0.signalfx.com
99
# - SPLUNK_LISTEN_INTERFACE: The network interface the agent receivers listen on.
10-
# - SPLUNK_BALLAST_SIZE_MIB: This size of the ballast which should be 1/3 to 1/2 of memory allocated
1110
# - SPLUNK_MEMORY_LIMIT_MIB: 90% of memory allocated
1211

1312
receivers:

cmd/otelcol/config/collector/upstream_agent_config.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
# configured below:
99
# - SPLUNK_ACCESS_TOKEN: The Splunk access token to authenticate requests
1010
# - SPLUNK_API_URL: The Splunk API URL, e.g. https://api.us0.signalfx.com
11-
# - SPLUNK_BALLAST_SIZE_MIB: This size of the ballast which should be 1/3 to 1/2 of memory allocated
1211
# - SPLUNK_MEMORY_LIMIT_MIB: 90% of memory allocated
1312
# - SPLUNK_HEC_TOKEN: The Splunk HEC authentication token
1413
# - SPLUNK_HEC_URL: The Splunk HEC endpoint URL, e.g. https://ingest.us0.signalfx.com/v1/log
@@ -95,7 +94,7 @@ processors:
9594
# Enabling the memory_limiter is strongly recommended for every pipeline.
9695
# Configuration is based on the amount of memory allocated to the collector.
9796
# In general, the limit should be 90% of the collector's memory. The simplest way to specify the
98-
# ballast size is set the value of SPLUNK_BALLAST_SIZE_MIB env variable.
97+
# memory allocation is set the value of GOMEMLIMIT env variable.
9998
# For more information about memory limiter, see
10099
# https://github.com/open-telemetry/opentelemetry-collector/blob/main/processor/memorylimiter/README.md
101100
memory_limiter:

deployments/chef/templates/splunk-otel-collector.conf.erb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ SPLUNK_HEC_URL=<%= node['splunk_otel_collector']['splunk_hec_url'] %>
2323
SPLUNK_HEC_TOKEN=<%= node['splunk_otel_collector']['splunk_hec_token'] %>
2424

2525
# Total memory in MIB to allocate to the collector.
26-
# Automatically configures the ballast and memory limit.
27-
# If `SPLUNK_BALLAST_SIZE_MIB` is also defined, it will override
28-
# the value calculated by `SPLUNK_MEMORY_TOTAL_MIB`.
26+
# Automatically configures the memory limit.
2927
SPLUNK_MEMORY_TOTAL_MIB=<%= node['splunk_otel_collector']['splunk_memory_total_mib'] %>
3028

3129
<% unless node['splunk_otel_collector']['splunk_listen_interface'].to_s.strip.empty? -%>

deployments/chef/test/integration/default/test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
{ name: 'SPLUNK_REALM', type: :string, data: splunk_realm },
3030
{ name: 'SPLUNK_TRACE_URL', type: :string, data: splunk_trace_url },
3131
]
32+
3233
collector_env_vars_strings = []
3334
collector_env_vars.each do |item|
3435
collector_env_vars_strings |= [ "#{item[:name]}=#{item[:data]}" ]

deployments/puppet/README.md

Lines changed: 21 additions & 21 deletions
Large diffs are not rendered by default.

deployments/puppet/manifests/collector_win_config_options.pp

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@
1414
'SPLUNK_TRACE_URL' => $splunk_otel_collector::splunk_trace_url,
1515
}
1616

17-
$ballast_size_mib = if $splunk_otel_collector::collector_version != 'latest' and
18-
versioncmp($splunk_otel_collector::collector_version, '0.97.0') < 0 and
19-
!$splunk_otel_collector::splunk_ballast_size_mib.strip().empty() {
20-
{ 'SPLUNK_BALLAST_SIZE_MIB' => $splunk_otel_collector::splunk_ballast_size_mib }
21-
} else {
22-
{}
23-
}
24-
2517
$gomemlimit = if ($splunk_otel_collector::collector_version == 'latest' or
2618
versioncmp($splunk_otel_collector::collector_version, '0.97.0') >= 0) and
2719
!$splunk_otel_collector::gomemlimit.strip().empty() {
@@ -36,5 +28,5 @@
3628
{}
3729
}
3830

39-
$collector_env_vars = stdlib::merge($base_env_vars, $ballast_size_mib, $gomemlimit, $listen_interface)
31+
$collector_env_vars = stdlib::merge($base_env_vars, $gomemlimit, $listen_interface)
4032
}

deployments/puppet/manifests/init.pp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
$splunk_bundle_dir = $splunk_otel_collector::params::splunk_bundle_dir,
1111
$splunk_collectd_dir = $splunk_otel_collector::params::splunk_collectd_dir,
1212
$splunk_memory_total_mib = '512',
13-
$splunk_ballast_size_mib = '',
1413
$splunk_listen_interface = '',
1514
$collector_version = $splunk_otel_collector::params::collector_version,
1615
$collector_config_source = $splunk_otel_collector::params::collector_config_source,

deployments/puppet/templates/splunk-otel-collector.conf.erb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
SPLUNK_ACCESS_TOKEN=<%= @splunk_access_token %>
22
SPLUNK_API_URL=<%= @splunk_api_url %>
3-
SPLUNK_BALLAST_SIZE_MIB=<%= @splunk_ballast_size_mib %>
43
SPLUNK_BUNDLE_DIR=<%= @splunk_bundle_dir %>
54
SPLUNK_COLLECTD_DIR=<%= @splunk_collectd_dir %>
65
SPLUNK_CONFIG=<%= @collector_config_dest %>

docs/components.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ The distribution offers support for the following components.
140140
| [host_observer](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/observer/hostobserver) | [beta] |
141141
| [http_forwarder](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/httpforwarderextension) | [beta] |
142142
| [k8s_observer](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/observer/k8sobserver) | [beta] |
143-
| [memory_ballast](https://github.com/open-telemetry/opentelemetry-collector/tree/main/extension/ballastextension) | [beta] |
144143
| [oauth2client](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/oauth2clientauthextension) | [beta] |
145144
| [pprof](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/pprofextension) | [beta] |
146145
| [smartagent](../pkg/extension/smartagentextension) | [beta] |

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ require (
145145
go.opentelemetry.io/collector/exporter/otlpexporter v0.110.0
146146
go.opentelemetry.io/collector/exporter/otlphttpexporter v0.110.0
147147
go.opentelemetry.io/collector/extension v0.110.0
148-
go.opentelemetry.io/collector/extension/ballastextension v0.108.1
149148
go.opentelemetry.io/collector/extension/zpagesextension v0.110.0
150149
go.opentelemetry.io/collector/otelcol v0.110.0
151150
go.opentelemetry.io/collector/pdata v1.16.0

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1933,8 +1933,6 @@ go.opentelemetry.io/collector/extension v0.110.0 h1:AYFk57W25f7xOo3I6pV0rWNWVtOL
19331933
go.opentelemetry.io/collector/extension v0.110.0/go.mod h1:zD/pw9o83SFyn/DCbBdBcH0eUPyGtYgpMSAOqotFYRc=
19341934
go.opentelemetry.io/collector/extension/auth v0.110.0 h1:9SHC2sF/KR99LciHABDXRIsXLiujzIjTJpWHO0V8Bqg=
19351935
go.opentelemetry.io/collector/extension/auth v0.110.0/go.mod h1:NjpHds6mjeT8Zn2KJVxZtV9c59AoIr6RlBha1RpmScQ=
1936-
go.opentelemetry.io/collector/extension/ballastextension v0.108.1 h1:HmuvkGN2s5hnviVZ62CRM7XbGOWcVjlp3L6VOZEvaTc=
1937-
go.opentelemetry.io/collector/extension/ballastextension v0.108.1/go.mod h1:Yu2jtjK7RD8Ie13N06rQMtGbLqWySmPEPEZoJdS9DT4=
19381936
go.opentelemetry.io/collector/extension/experimental/storage v0.110.0 h1:G1xkNGiBkdSrdhhU5VLE9+y7sZ5fU1/CHps92KSYDLc=
19391937
go.opentelemetry.io/collector/extension/experimental/storage v0.110.0/go.mod h1:0XFrIUcbqjsSycNI6Vu7ndMnjSkglMnD2YtUl2ZrzIU=
19401938
go.opentelemetry.io/collector/extension/extensioncapabilities v0.110.0 h1:VVqGHUh1A5ljEoQVeMCMUs1i7oLMKRQRpLCAim4WwpU=

internal/buildscripts/packaging/fpm/etc/otel/collector/splunk-otel-collector.conf.example

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,9 @@ SPLUNK_HEC_URL=https://ingest.us0.signalfx.com/v1/log
4747
SPLUNK_HEC_TOKEN=12345
4848

4949
# Total memory in MIB to allocate to the collector.
50-
# Automatically configures the ballast and memory limit.
51-
# If `SPLUNK_BALLAST_SIZE_MIB` is also defined, it will override
52-
# the value calculated by `SPLUNK_MEMORY_TOTAL_MIB`.
50+
# Automatically configures the memory limit.
5351
SPLUNK_MEMORY_TOTAL_MIB=1024
5452

55-
# How much memory to allocate to the ballast. This should be set to 1/3 to 1/2 of configured memory.
56-
# SPLUNK_BALLAST_SIZE_MIB=683
57-
5853
# The path to the Smart Agent bundle.
5954
SPLUNK_BUNDLE_DIR=/usr/lib/splunk-otel-collector/agent-bundle
6055

internal/buildscripts/packaging/installer/install.sh

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -902,8 +902,6 @@ Collector:
902902
--api-url <url> Set the api endpoint URL explicitly instead of the endpoint inferred from the
903903
specified realm.
904904
(default: https://api.REALM.signalfx.com)
905-
--ballast <ballast size> Set the ballast size explicitly instead of the value calculated from the
906-
'--memory' option. This should be set to 1/3 to 1/2 of configured memory.
907905
--beta Use the beta package repo instead of the primary.
908906
--collector-config <path> Set the path to an existing custom config file for the collector service instead
909907
of the default config file provided by the collector package based on the
@@ -923,8 +921,7 @@ Collector:
923921
--ingest-url <url> Set the ingest endpoint URL explicitly instead of the endpoint inferred from the
924922
specified realm.
925923
(default: https://ingest.REALM.signalfx.com)
926-
--memory <memory size> Total memory in MIB to allocate to the collector; automatically calculates the
927-
ballast size.
924+
--memory <memory size> Total memory in MIB to allocate to the collector
928925
(default: "$default_memory_size")
929926
--mode <agent|gateway> Configure the collector service to run in agent or gateway mode.
930927
(default: "agent")
@@ -1236,7 +1233,6 @@ check_support() {
12361233
parse_args_and_install() {
12371234
local access_token=
12381235
local api_url=
1239-
local ballast=
12401236
local collector_version="$default_collector_version"
12411237
local hec_token=
12421238
local hec_url=
@@ -1272,10 +1268,6 @@ parse_args_and_install() {
12721268
api_url="$2"
12731269
shift 1
12741270
;;
1275-
--ballast)
1276-
ballast="$2"
1277-
shift 1
1278-
;;
12791271
--beta)
12801272
stage="beta"
12811273
;;
@@ -1585,9 +1577,6 @@ parse_args_and_install() {
15851577
ensure_not_installed "$with_fluentd" "$with_instrumentation" "$with_systemd_instrumentation" "$npm_path"
15861578

15871579
echo "Splunk OpenTelemetry Collector Version: ${collector_version}"
1588-
if [ -n "$ballast" ]; then
1589-
echo "Ballast Size in MIB: $ballast"
1590-
fi
15911580
echo "Memory Size in MIB: $memory"
15921581

15931582
if [ -n "$listen_interface" ]; then
@@ -1742,9 +1731,6 @@ parse_args_and_install() {
17421731
configure_env_file "SPLUNK_HEC_URL" "$hec_url" "$collector_env_path"
17431732
configure_env_file "SPLUNK_HEC_TOKEN" "$hec_token" "$collector_env_path"
17441733
configure_env_file "SPLUNK_MEMORY_TOTAL_MIB" "$memory" "$collector_env_path"
1745-
if [ -n "$ballast" ]; then
1746-
configure_env_file "SPLUNK_BALLAST_SIZE_MIB" "$ballast" "$collector_env_path"
1747-
fi
17481734
if [ -d "$collector_bundle_dir" ]; then
17491735
configure_env_file "SPLUNK_BUNDLE_DIR" "$collector_bundle_dir" "$collector_env_path"
17501736
# ensure the collector service owner has access to the bundle dir

internal/buildscripts/packaging/technical-addon/Splunk_TA_otel/linux_x86_64/bin/Splunk_TA_otel.sh

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ gomemlimit_name="gomemlimit"
2323
gomemlimit_value=""
2424
splunk_api_url_name="splunk_api_url"
2525
splunk_api_url_value=""
26-
splunk_ballast_size_mib_name="splunk_ballast_size_mib"
27-
splunk_ballast_size_mib_value=""
2826
splunk_bundle_dir_name="splunk_bundle_dir"
2927
splunk_bundle_dir_value=""
3028
splunk_config_name="splunk_config"
@@ -130,13 +128,6 @@ splunk_TA_otel_read_configs() {
130128
splunk_TA_otel_log_msg "INFO" "Set $splunk_api_url_name to $splunk_api_url_value"
131129
fi
132130

133-
has_splunk_ballast_size_mib="$(echo "$line" | grep "$splunk_ballast_size_mib_name")"
134-
if [ "$has_splunk_ballast_size_mib" ] ; then
135-
splunk_TA_otel_log_msg "DEBUG" "reading $splunk_ballast_size_mib_name from line $has_splunk_ballast_size_mib"
136-
splunk_ballast_size_mib_value="$(echo "$has_splunk_ballast_size_mib" | grep -Eo ">(.*?)<" | sed 's/^>\(.*\)<$/\1/')"
137-
splunk_TA_otel_log_msg "INFO" "Set $splunk_ballast_size_mib_name to $splunk_ballast_size_mib_value"
138-
fi
139-
140131
has_splunk_bundle_dir="$(echo "$line" | grep "$splunk_bundle_dir_name")"
141132
if [ "$has_splunk_bundle_dir" ] ; then
142133
splunk_TA_otel_log_msg "DEBUG" "reading $splunk_bundle_dir_name from line $has_splunk_bundle_dir"
@@ -318,11 +309,6 @@ splunk_TA_otel_run_agent() {
318309
else
319310
splunk_TA_otel_log_msg "INFO" "NOT SET: $splunk_api_url_name"
320311
fi
321-
if [ "$splunk_ballast_size_mib_value" ] ; then
322-
export SPLUNK_BALLAST_SIZE_MIB="$splunk_ballast_size_mib_value"
323-
else
324-
splunk_TA_otel_log_msg "INFO" "NOT SET: $splunk_ballast_size_mib_name"
325-
fi
326312
if [ "$splunk_bundle_dir_value" ] ; then
327313
export SPLUNK_BUNDLE_DIR="$splunk_bundle_dir_value"
328314
else

internal/buildscripts/packaging/technical-addon/Splunk_TA_otel/windows_x86_64/bin/Splunk_TA_otel.cmd

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ set "gomemlimit_name=gomemlimit"
1313
set "gomemlimit_value="
1414
set "splunk_api_url_name=splunk_api_url"
1515
set "splunk_api_url_value="
16-
set "splunk_ballast_size_mib_name=splunk_ballast_size_mib"
17-
set "splunk_ballast_size_mib_value="
1816
set "splunk_bundle_dir_name=splunk_bundle_dir"
1917
set "splunk_bundle_dir_value="
2018
set "splunk_config_name=splunk_config"
@@ -105,11 +103,6 @@ if "%splunk_api_url_value%" == "" (
105103
) else (
106104
set "SPLUNK_API_URL=%splunk_api_url_value%"
107105
)
108-
if "%splunk_ballast_size_mib_value%" == "" (
109-
call :splunk_TA_otel_log_msg "DEBUG" "Param %splunk_ballast_size_mib_name% not set"
110-
) else (
111-
set "SPLUNK_BALLAST_SIZE_MIB=%splunk_ballast_size_mib_value%"
112-
)
113106
if "%splunk_bundle_dir_value%" == "" (
114107
call :splunk_TA_otel_log_msg "DEBUG" "Param %splunk_bundle_dir_name% not set"
115108
) else (
@@ -226,10 +219,9 @@ exit /B 0
226219
:splunk_TA_otel_read_configs
227220
echo "INFO grabbing config from stdin..."
228221

229-
for /F "tokens=1,2 delims==" %%I in ('powershell -noninteractive -noprofile -command "$input | Select-String -Pattern '.*?(%gomemlimit_name%|%splunk_api_url_name%|%splunk_ballast_size_mib_name%|%splunk_bundle_dir_name%|%splunk_config_name%|%splunk_config_dir_name%|%splunk_collectd_dir_name%|%splunk_debug_config_server_name%|%splunk_config_yaml_name%|%splunk_gateway_url_name%|%splunk_hec_url_name%|%splunk_listen_interface_name%|%splunk_memory_limit_mib_name%|%splunk_memory_total_mib_name%|%splunk_trace_url_name%|%splunk_otel_log_file_name%|%splunk_ingest_url_name%|%splunk_realm_name%|%splunk_access_token_file_name%|session_key).*?>(.*?)<' | ForEach-Object { $_.Matches.Groups[1].Value + '=' + $_.Matches.Groups[2].Value }"') do (
222+
for /F "tokens=1,2 delims==" %%I in ('powershell -noninteractive -noprofile -command "$input | Select-String -Pattern '.*?(%gomemlimit_name%|%splunk_api_url_name%|%splunk_bundle_dir_name%|%splunk_config_name%|%splunk_config_dir_name%|%splunk_collectd_dir_name%|%splunk_debug_config_server_name%|%splunk_config_yaml_name%|%splunk_gateway_url_name%|%splunk_hec_url_name%|%splunk_listen_interface_name%|%splunk_memory_limit_mib_name%|%splunk_memory_total_mib_name%|%splunk_trace_url_name%|%splunk_otel_log_file_name%|%splunk_ingest_url_name%|%splunk_realm_name%|%splunk_access_token_file_name%|session_key).*?>(.*?)<' | ForEach-Object { $_.Matches.Groups[1].Value + '=' + $_.Matches.Groups[2].Value }"') do (
230223
if "%%I"=="%gomemlimit_name%" set "gomemlimit_value=%%J"
231224
if "%%I"=="%splunk_api_url_name%" set "splunk_api_url_value=%%J"
232-
if "%%I"=="%splunk_ballast_size_mib_name%" set "splunk_ballast_size_mib_value=%%J"
233225
if "%%I"=="%splunk_bundle_dir_name%" set "splunk_bundle_dir_value=%%J"
234226
if "%%I"=="%splunk_config_name%" set "splunk_config_value=%%J"
235227
if "%%I"=="%splunk_config_dir_name%" set "splunk_config_dir_value=%%J"

internal/buildscripts/packaging/tests/installer_test.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def verify_config_file(container, path, key, value, exists=True):
133133
assert not match, f"'{line}' found in {path}:\n{config}"
134134

135135

136-
def verify_env_file(container, mode="agent", config_path=None, memory=TOTAL_MEMORY, listen_addr="", ballast=None):
136+
def verify_env_file(container, mode="agent", config_path=None, memory=TOTAL_MEMORY, listen_addr=""):
137137
env_path = SPLUNK_ENV_PATH
138138
if container_file_exists(container, OLD_SPLUNK_ENV_PATH):
139139
env_path = OLD_SPLUNK_ENV_PATH
@@ -162,9 +162,6 @@ def verify_env_file(container, mode="agent", config_path=None, memory=TOTAL_MEMO
162162
else:
163163
verify_config_file(container, env_path, "SPLUNK_LISTEN_INTERFACE", False, False)
164164

165-
if ballast:
166-
verify_config_file(container, env_path, "SPLUNK_BALLAST_SIZE_MIB", ballast)
167-
168165

169166
def verify_support_bundle(container):
170167
run_container_cmd(container, "/etc/otel/collector/splunk-support-bundle.sh -t /tmp/splunk-support-bundle")
@@ -280,7 +277,6 @@ def test_installer_custom(distro, arch):
280277
"--with-fluentd",
281278
"--listen-interface 10.0.0.1",
282279
"--memory 256",
283-
"--ballast 64",
284280
f"--service-user {service_owner} --service-group {service_owner}",
285281
f"--collector-config {custom_config}",
286282
f"--collector-version {collector_version}",
@@ -301,7 +297,7 @@ def test_installer_custom(distro, arch):
301297
assert output.decode("utf-8").strip() == f"otelcol version v{collector_version}"
302298

303299
# verify env file created with configured parameters
304-
verify_env_file(container, config_path=custom_config, memory="256", listen_addr="10.0.0.1", ballast="64")
300+
verify_env_file(container, config_path=custom_config, memory="256", listen_addr="10.0.0.1")
305301

306302
# verify collector service status
307303
assert wait_for(lambda: service_is_running(container, service_owner=service_owner))

internal/components/components.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ import (
119119
"go.opentelemetry.io/collector/exporter/otlpexporter"
120120
"go.opentelemetry.io/collector/exporter/otlphttpexporter"
121121
"go.opentelemetry.io/collector/extension"
122-
"go.opentelemetry.io/collector/extension/ballastextension"
123122
"go.opentelemetry.io/collector/extension/zpagesextension"
124123
"go.opentelemetry.io/collector/otelcol"
125124
"go.opentelemetry.io/collector/processor"
@@ -144,7 +143,6 @@ func Get() (otelcol.Factories, error) {
144143
var errs []error
145144
extensions, err := extension.MakeFactoryMap(
146145
ackextension.NewFactory(),
147-
ballastextension.NewFactory(),
148146
basicauthextension.NewFactory(),
149147
dockerobserver.NewFactory(),
150148
ecsobserver.NewFactory(),

internal/components/components_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ func TestDefaultComponents(t *testing.T) {
3737
"host_observer",
3838
"http_forwarder",
3939
"k8s_observer",
40-
"memory_ballast",
4140
"oauth2client",
4241
"pprof",
4342
"smartagent",

internal/configconverter/testdata/logging_loglevel-after.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ receivers:
1515

1616
processors:
1717
memory_limiter:
18-
ballast_size_mib: ${SPLUNK_BALLAST_SIZE_MIB}
1918
check_interval: 2s
2019
limit_mib: ${SPLUNK_MEMORY_LIMIT_MIB}
2120

internal/configconverter/testdata/logging_loglevel.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ receivers:
1515

1616
processors:
1717
memory_limiter:
18-
ballast_size_mib: ${SPLUNK_BALLAST_SIZE_MIB}
1918
check_interval: 2s
2019
limit_mib: ${SPLUNK_MEMORY_LIMIT_MIB}
2120

0 commit comments

Comments
 (0)