Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-11826

Allow tuning client-side vmagent process.

Details

    • New Feature
    • Status: Open
    • High
    • Resolution: Unresolved
    • 2.35.0
    • None
    • PMM Client
    • 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

          Activity

            People

              nurlan.moldomurov Nurlan Moldomurov
              agustin.gallego Agustín Gallego
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Smart Checklist