Details
-
Bug
-
Status: Done
-
High
-
Resolution: Fixed
-
2.6.0
-
server docker - perconalab/pmm-server-fb:PR-806-b65811b
client - https://s3.us-east-2.amazonaws.com/pmm-build-cache/PR-BUILDS/pmm2-client/pmm2-client-PR-806-b65811b.tar.gz
-
1
-
Yes
-
Yes
-
C/S Core
Description
STR:
Open QAN
Change Group by to Database, Schema or User Name
Actual result:
The graph and values are identical for TOTAL and N/A
Expected result:
Values should be different and TOTAL should show total of all rows
Proposed solution:
- pass argument isTotal to SelectSparklines function;
- improve query template to check if code tries to query the total or empty value of dimension:
https://github.com/percona/qan-api2/blob/master/models/reporter.go#L235