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

Metrics_memory value cannot be set

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.1
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1

      Description

      1. Run docker container with non-default MEMORY_METRICS
      2. Check prometheus
        Result: it's started with default memory value
      nailya.kutlubaeva@bm-dell02-qanqa01:~$ docker run -d -p 443:443 --restart always -e SERVER_USER=qwe123 -e 'SERVER_PASSWORD=qweRTY!' -e METRICS_MEMORY=4194304 -e QUERIES_RETENTION=4 --volumes-from pmm-data --name pmm-server percona/pmm-server:1.3.0
      84a7e4f9c5fded41423ec894a54d7236a030d2eee3e3e47ac67589ffad2c041c
      nailya.kutlubaeva@bm-dell02-qanqa01:~$ sudo pmm-admin restart --all
      OK, no services found.
      
      nailya.kutlubaeva@bm-dell02-qanqa01:~$ ps aux |grep heap_s
      nailya.+ 18203  0.0  0.0  14040   916 pts/0    S+   14:44   0:00 grep --color=auto heap_s
      nailya.kutlubaeva@bm-dell02-qanqa01:~$ ps aux |grep heap-s
      jenkins+ 16992  9.1  1.6 722604 65404 ?        Sl   14:44   0:03 /usr/sbin/prometheus --config.file=/etc/prometheus.yml --storage.local.path=/opt/prometheus/data --web.listen-address=:9090 --storage.local.retention=720h --storage.local.target-heap-size=766957568 --storage.local.chunk-encoding-version=2 --web.console.libraries=/usr/share/prometheus/console_libraries --web.console.templates=/usr/share/prometheus/consoles --web.external-url=http://localhost:9090/prometheus/

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned
                Reporter:
                nailya.kutlubaeva Nailya Kutlubaeva
                Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: