fix(observability): reserve memory headroom for telemetry services

This commit is contained in:
2026-11-20 16:13:06 +03:00
parent 0fc0f0f620
commit ba1c658bd7
4 changed files with 607 additions and 6 deletions
+9 -4
View File
@@ -318,8 +318,10 @@ services:
volumes:
- ./infra/otel/collector.yaml:/etc/otel/config.yaml:ro
cpus: 0.5
mem_limit: 256m
memswap_limit: 256m
mem_limit: 384m
memswap_limit: 384m
environment:
GOMEMLIMIT: 224MiB
read_only: true
tmpfs:
- /tmp:rw,noexec,nosuid,size=32m
@@ -385,8 +387,10 @@ services:
- ./infra/otel/tempo.yaml:/etc/tempo/config.yaml:ro
- tempo_data:/var/tempo
cpus: 0.5
mem_limit: 512m
memswap_limit: 512m
mem_limit: 768m
memswap_limit: 768m
environment:
GOMEMLIMIT: 384MiB
read_only: true
tmpfs:
- /tmp:rw,noexec,nosuid,size=32m
@@ -428,6 +432,7 @@ services:
GF_ANALYTICS_CHECK_FOR_PLUGIN_UPDATES: 'false'
GF_PLUGINS_PREINSTALL_DISABLED: 'true'
GF_LOG_LEVEL: warn
GOMEMLIMIT: 256MiB
secrets:
- grafana_password
ports: