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

Qery Analytics Dashboard did not show the row with the last query of the first page, if the number of queries to display was 11

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.2.2
    • Component/s: QAN API, QAN App
    • Labels:
      None
    • Story Points:
      2
    • Sprint:
      Platform Sprint 7, Platform Sprint 8
    • Needs Review:
      Yes
    • Needs QA:
      Yes

      Description

      Steps to Reproduce:

      1. install pmm-server and configure PMM client
      # docker create -v /srv --name pmm-data percona/pmm-server:2.1.0 /bin/true
      #docker run -d -p 80:80 -p 443:443 --volumes-from pmm-data --name pmm-server --restart always percona/pmm-server:2.1.0
      # pmm-admin config --server-insecure-tls --server-url=https://admin:admin@172.17.0.2:443
      

      2. go to QAN and you will notice the following,

      page 1 with 9 queries,

      10th number# missing and page 2 has 11th number entry

      Current behavior:

      I see described behavior after installing PMM 2.1.0 and checking QAN when it has 11 distinct query count and on the 1st page, it only shows 9 queries where it should show 10 queries per page. also, page 1 has 9 entries and page 2 has 11th query so here 10th number entry is missing or the numbering here not done properly.

      Expected behavior:

      QAN page should show the numbering for queries correctly and it should consistently show the 10 results per page as it says.

      Original report:

      There are 11 matching queries for my filters, but page 1 only shows 9 rows instead of 10, and page 2 only shows the 11th query. It looks like the pagination settings are off by 1.

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              derekperkins Derek Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 20 minutes
                  20m