Skip to content

Commit ad0855c

Browse files
committed
Use memory ballast extension
1 parent eeadf7c commit ad0855c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

deployments/salt/templates/agent_config.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,12 @@ receivers:
1515
static_configs:
1616
- targets: ['127.0.0.1:8888']
1717

18+
extensions:
19+
memory_ballast:
20+
size_mib: ${SPLUNK_BALLAST_SIZE_MIB}
21+
1822
processors:
1923
memory_limiter:
20-
ballast_size_mib: ${SPLUNK_BALLAST_SIZE_MIB}
2124
check_interval: 2s
2225
limit_mib: ${SPLUNK_MEMORY_LIMIT_MIB}
2326

@@ -28,6 +31,7 @@ exporters:
2831
loglevel: info
2932

3033
service:
34+
extensions: [memory_ballast]
3135
pipelines:
3236
metrics:
3337
receivers: [otlp, prometheus]

0 commit comments

Comments
 (0)