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

Custom queries for postgres are being collected in high resolution

Details

    • Bug
    • Status: Open
    • Medium
    • Resolution: Unresolved
    • None
    • None
    • Postgres_exporter
    • None

    Description

      User Impact:

      Custom queries are not working in expected resolutions and this causes High CPU usage.

       

      How to test:
      Add custom query to custom queries low resolution folder

      Restart postgres_exporter or pmm-agent.

      Check CPU usage, it should look more like waves.

      Steps to Reproduce:

      • Add instance with ~1000 tables.
      • Add custom query to custom queries low resolution folder.
      • Restart postgres_exporter or pmm-agent.
      • Check CPU usage of postgres_exporter.

      Actual Result:

      High CPU usage for the whole time.

      Expected Result:
      Periodical high CPU usage.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nurlan.moldomurov Nurlan Moldomurov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Smart Checklist