Done
Details
Details
Assignee
Alex Demidoff
Alex DemidoffReporter
Agustin Gallego
Agustin GallegoPriority
Components
Needs QA
Yes
Needs Doc
Yes
Planned Version/s
Fix versions
Story Points
3
Sprint
Add sprint
Affects versions
Smart Checklist Progress
1/1 - Done
Start date
May 27, 2025
Due date
Aug 04, 2025
Created March 21, 2023 at 1:53 AM
Updated August 4, 2025 at 10:53 AM
Resolved August 4, 2025 at 10:53 AM
We should allow modifying
vmagent
process configurations in use. In particular it will be needed for changing remoteWrite.maxDiskUsagePerURL, which is 1Gb by default in current PMM client versions:/usr/local/percona/pmm2/exporters/vmagent -envflag.enable=true -httpListenAddr=127.0.0.1:42001 -loggerLevel=INFO -promscrape.config=/tmp/vm_agent/agent_id/78474bd8-94e3-443c-8934-504dde1242bd/vmagentscrapecfg -remoteWrite.maxDiskUsagePerURL=1073741824 -remoteWrite.tlsInsecureSkipVerify=true -remoteWrite.tmpDataPath=/tmp/vmagent-temp-dir -remoteWrite.url=https://10.124.33.55:443/victoriametrics/api/v1/write
This variable governs how much disk space can be used in the event of a disconnection with the server. It seems to be innocuous, but in the case were many PMM client instances are running sharing mountpoint for /tmp/, for example, it may cause issues. This is particularly true in k8s environments, where disk space is shared between many services.