PMM Showing wrong number of nodes and services on dashboard

Hi Adivinho,

Earlier it was using grafana to get value. as you mentioned i have edited the monitored db services and add “count(count by (id_service)
(label_replace(up{node_name=~”$node_name",job=~“mysql.|mongo.|postgres.|proxysql.”,environment=~“$environment”},“id_service”,“$2”,“job”,“(.)exporter_agent_id(.)_(.*)”))) or vector(0)" query now i am getting correct value.

I have added the query both for monitored Node and monitored DB services. is this fine or for monitor node we have different query.

1 Like

This was the earlier view

1 Like

Again I have encountered similar kind of issue. In CPU busy I got negative value.

as I clicked on explore on this metric I can see it is using GRAFANA as data source. Please guide us on this. Do we need to change the data source? and one more Do we need to write the all queries manually to get correct data on dashboard as we did for monitored services metric

1 Like