Skip to content

Commit cad9178

Browse files
authored
Update linux env file for SPLUNK_MEMORY_TOTAL_MIB (#80)
1 parent 77b3028 commit cad9178

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

internal/buildscripts/packaging/fpm/etc/otel/collector/splunk_env.example

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,24 @@ SPLUNK_INGEST_URL=https://ingest.us0.signalfx.com
2626
# Splunk trace endpoint URL.
2727
SPLUNK_TRACE_URL=https://ingest.us0.signalfx.com/v2/trace
2828

29-
# How much memory to allocate to the ballast. This should be set to 1/3 to 1/2 of configured memory.
30-
SPLUNK_BALLAST_SIZE_MIB=683
31-
3229
# Splunk HEC endpoint URL.
3330
SPLUNK_HEC_URL=https://ingest.us0.signalfx.com/v1/log
3431

3532
# Splunk HEC token.
3633
SPLUNK_HEC_TOKEN=12345
34+
35+
# Total memory in MIB to allocate to the collector.
36+
# Automatically configures the ballast, memory limit, and memory spike.
37+
# To explicitly set these values, uncomment and set the
38+
# SPLUNK_BALLAST_SIZE_MIB, SPLUNK_MEMORY_LIMIT_PERCENTAGE, and
39+
# SPLUNK_MEMORY_SPIKE_PERCENTAGE variables below.
40+
SPLUNK_MEMORY_TOTAL_MIB=1024
41+
42+
# How much memory to allocate to the ballast. This should be set to 1/3 to 1/2 of configured memory.
43+
# SPLUNK_BALLAST_SIZE_MIB=683
44+
45+
# Maximum total memory to be allocated by the process heap.
46+
# SPLUNK_MEMORY_LIMIT_PERCENTAGE=90
47+
48+
# Maximum spike between the measurements of memory usage.
49+
# SPLUNK_MEMORY_SPIKE_PERCENTAGE=20

0 commit comments

Comments
 (0)