Details
-
New Feature
-
Status: Open
-
High
-
Resolution: Unresolved
-
2.35.0
-
None
-
None
-
Yes
-
Yes
-
No
Description
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.
Attachments
Issue Links
- relates to
-
PMM-9374 Ability to use external VictoriaMetrics database instance
-
- Done
-