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

Potentially incorrect information in FAQ

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Done
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: docker, PMM Server
    • Labels:
      None
    • Sprint:
      27W2017Y (07/3-07/9), 28W2017Y (07/10-07/16 ) R

      Description

      Hi,

      As we have Prometheus 1.6 built in now we might have incorrect information in FAQ or might not follow the best practices as the release notes state:

      [FEATURE] New flag -storage.local.target-heap-size to tell Prometheus about the desired heap size. This deprecates the flags -storage.local.memory-chunks and -storage.local.max-chunks-to-persist, which are kept for backward compatibility.

      If I understand correctly this makes the limit set up of RAM usage in 1.6, how does that affect the FAQ?

      The limit affects only memory reserved for data chunks. Actual RAM usage by Prometheus is higher. It is recommended to have at least three times more memory than the expected memory taken up by data chunks.
      

      [image: Inline image 1]

      Tasks

      1. Update supervisord.conf for Prometheus 1.6 syntax
        -storage.local.target-heap-size=ENV_METRICS_MEMORY
      1. Update documentation with more appropriate wording modeled on guidance from prometheus.io
        set -storage.local.target-heap-size to a value of two thirds of the physical memory limit Prometheus should not exceed

        Smart Checklist

          Attachments

          1. image.png
            image.png
            20 kB
          2. memory.png
            memory.png
            26 kB

            Activity

              People

              • Assignee:
                nailya.kutlubaeva Nailya Kutlubaeva
                Reporter:
                pz Peter Zaitsev
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: