# Only one node showing up in Query Analytics

**URL:** <https://forums.percona.com/t/only-one-node-showing-up-in-query-analytics/7568>\
**Category:** PMM 2.x\
**Tags:** pmm\
**Created:** [April 22, 2020, 6:12pm UTC](https://forums.percona.com/t/only-one-node-showing-up-in-query-analytics/7568 "2020-04-22T18:12:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Schueler](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@Michael\_Schueler](https://forums.percona.com/u/Michael_Schueler)\
**Post date:** [April 22, 2020, 6:12pm UTC](https://forums.percona.com/t/only-one-node-showing-up-in-query-analytics/7568/1 "2020-04-22T18:12:49Z")

</div>

I’m seeing a weird issue.&nbsp; Only the first node I added to PMM monitoring is showing up in query analytics.&nbsp; The other nodes show their mysql and linux stats, but not their QAN/Slow log.&nbsp; in the pmm summary, the node that is showing up in QAN&nbsp; is named “pl-db14”… none of the other nodes show up.  
  
Was previously running PMM 1.x and things were working fine, only after moving to PMM 2.x (2.3.0 to start then upgraded to 2.5.0) and I started experiencing this issue.  
I opened a jire ticket for this:&nbsp;[[PMM-5807] only one node showing up in query analytics - Percona JIRA](https://jira.percona.com/browse/PMM-5807)  
  
In there, you can download pmm-admin summary and also debug output from the PMM server itself.&nbsp; Wondering if anyone else has run into this.  
  
I’ve tried basic stuff like removing/adding the mysql service (pmm-admin add mysql --query-source=slowlog --username=pmm --password=xxxx --disable-tablestats) … verified stuff is going to my slowlog… nothing is working so far.  
  
any ideas?

---

<div class="post-metadata">

**Author:** ![Peter](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/peter/32/2_2.png) [@Peter](https://forums.percona.com/u/Peter)\
**Post date:** [April 22, 2020, 6:38pm UTC](https://forums.percona.com/t/only-one-node-showing-up-in-query-analytics/7568/2 "2020-04-22T18:38:41Z")

</div>

I would look at it his way&nbsp;  
- Is it collected correctly ?  
- Is it sent ?  
- Is it stored in the Database ?  
- Is it Displayed  
  
First I would check if your slow query log is getting queries as you expect. If you have not enable logging all queries you may not get all queries there…&nbsp; &nbsp; &nbsp;When I’d check

```auto
Apr 22 20:02:00 ts140i pmm-agent[3399]: INFO[2020-04-22T20:02:00.000-04:00] Sending 1 buckets.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; agentID=/agent_id/685a6400-4ef0-4b15-9644-94cc026c6aa3 component=agent-builtin type=qan_mysql_slowlog_agent

```

Do you have any Buckets being sent ?&nbsp; &nbsp;(look at journalctl -xe output)  
  
If this works see if you get any data if you query clickhouse directly:  
  
[https://www.percona.com/blog/2020/03/30/advanced-query-analysis-in-percona-monitoring-and-management-with-direct-clickhouse-access/](https://www.percona.com/blog/2020/03/30/advanced-query-analysis-in-percona-monitoring-and-management-with-direct-clickhouse-access/ "Link: https://www.percona.com/blog/2020/03/30/advanced-query-analysis-in-percona-monitoring-and-management-with-direct-clickhouse-access/")

---

<div class="post-metadata">

**Author:** ![SteveMc](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@SteveMc](https://forums.percona.com/u/SteveMc)\
**Post date:** [November 30, 2020, 2:50am UTC](https://forums.percona.com/t/only-one-node-showing-up-in-query-analytics/7568/3 "2020-11-30T02:50:45Z")

</div>

Hi Michael,

I have the same issue with only one node showing QAN, did you manage to find out and resolve the problem by chance?

Ta - Stephen
