We have 58 MySQL instances running on 16 MySQL VM, plus the PMM server is monitored, of course.
I have tried to access data directly in Prometheus and I see all the metrics for all nodes without any trouble, hence the issue seems related to Grafana.
Playing around selecting and deselecting hosts from the list, the problem appears “around” 68 hosts. Depending on the set, sometimes 67 is enough to trigger the problem, other times you need 69. So, it does not seem to be related to the number of hosts rather than the data volume to be accessed.
Sorry for the very late reply, been very busy during the past days.
I have tried all the possible resolutions for the Memory trend graph, but I still get the error when >~68 hosts are selected from the list.
TypeError: Cannot read property ‘result’ of undefined
at eval (datasource.js?bust=1488533087258:4)
at f (boot.b8fccc44.js:52)
at Function.Pg (boot.b8fccc44.js:53)
at eval (datasource.js?bust=1488533087258:4)
at g (boot.b8fccc44.js:42)
at boot.b8fccc44.js:42
at o.$eval (boot.b8fccc44.js:42)
at o.$digest (boot.b8fccc44.js:42)
at o.$apply (boot.b8fccc44.js:42)
at boot.b8fccc44.js:42
(anonymous) @ boot.b8fccc44.js:42
(anonymous) @ boot.b8fccc44.js:41
g @ boot.b8fccc44.js:42
(anonymous) @ boot.b8fccc44.js:42
$eval @ boot.b8fccc44.js:42
$digest @ boot.b8fccc44.js:42
$apply @ boot.b8fccc44.js:42
(anonymous) @ boot.b8fccc44.js:42
f @ boot.b8fccc44.js:40
(anonymous) @ boot.b8fccc44.js:41
boot.b8fccc44.js:46
Panel data error: TypeError: Cannot read property ‘result’ of undefined
at eval (datasource.js?bust=1488533087258:4)
at f (boot.b8fccc44.js:52)
at Function.Pg (boot.b8fccc44.js:53)
at eval (datasource.js?bust=1488533087258:4)
at g (boot.b8fccc44.js:42)
at boot.b8fccc44.js:42
at o.$eval (boot.b8fccc44.js:42)
at o.$digest (boot.b8fccc44.js:42)
at o.$apply (boot.b8fccc44.js:42)
at boot.b8fccc44.js:42
I have replaced the query with the new one you sent me. In this case I see the graph only for the host “pmm-server” when All is ticked in the hosts list.
I tried various combinations of changing query and resolution, with no luck so far.
Selecting a subset of hosts (excluding pmm-server) is basically returning no data points, while with the original query I get a graph displayed. Please check the attached screenshot.
Hi Mykola,
today I had the chance to upgrade all of our PMM server deployments to version 1.1.4, but I see that the fix for this issue hasn’t been merged.
The last query you sent me works as expected even with an high number of nodes:
I asked PMM Team to prioritize this pull request, so now it is reviewed and merged (fixed).
So new code (with fix) will be avaiable in the next 1.1.5 release.