# Explain about request com\_

**URL:** <https://forums.percona.com/t/explain-about-request-com/30773>\
**Category:** PMM 2.x\
**Created:** [June 3, 2024, 7:52am UTC](https://forums.percona.com/t/explain-about-request-com/30773 "2024-06-03T07:52:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Olivier\_Studer](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/olivier_studer/32/16602_2.png) [@Olivier\_Studer](https://forums.percona.com/u/Olivier_Studer)\
**Post date:** [June 3, 2024, 7:52am UTC](https://forums.percona.com/t/explain-about-request-com/30773/1 "2024-06-03T07:52:03Z")

</div>

Hi,

At 3h00 each day, I see a pic of Networker Usage between 3 to 7 GiB. But in same time, I see a pic graph “Top Command Counters Hourly” with com\_set\_option, com\_select, and more.

 ![image](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/3X/1/e/1eef512df31f5109d3cea5edb11e7bd7a3ccc365.png)

I need help to understand this traffic and this all requests ?  
Regards  
OIivier

---

<div class="post-metadata">

**Author:** ![Agustin\_G](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/agustin_g/32/14111_2.png) [@Agustin\_G](https://forums.percona.com/u/Agustin_G)\
**Post date:** [June 3, 2024, 8:20pm UTC](https://forums.percona.com/t/explain-about-request-com/30773/2 "2024-06-03T20:20:34Z")

</div>

Hi Olivier,

These map directly to the MySQL `com_*` STATUS counters. You can read more on them in the online documentation:  
[https://dev.mysql.com/doc/refman/8.4/en/server-status-variables.html](https://dev.mysql.com/doc/refman/8.4/en/server-status-variables.html)

> Com\_xxx
> 
> The Com\_xxx statement counter variables indicate the number of times each xxx statement has been executed. There is one status variable for each type of statement. For example, Com\_delete and Com\_update count DELETE and UPDATE statements, respectively. Com\_delete\_multi and Com\_update\_multi are similar but apply to DELETE and UPDATE statements that use multiple-table syntax.  
> […]

If you have query analytics configured for that node, you can also check the QAN dashboard on PMM to see which queries in particular were running at those times:

> **[Percona Monitoring and Management - Query Analytics under the hood](https://docs.percona.com/percona-monitoring-and-management/details/query-analytics.html)**
>
> Documentation

---

<div class="post-metadata">

**Author:** ![Olivier\_Studer](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/olivier_studer/32/16602_2.png) [@Olivier\_Studer](https://forums.percona.com/u/Olivier_Studer)\
**Post date:** [June 4, 2024, 7:35am UTC](https://forums.percona.com/t/explain-about-request-com/30773/3 "2024-06-04T07:35:48Z")

</div>

Hi,

Thanks for this explain. But if I use QAN and select a time period (3:00 - 4:00), I see only queries from PMM but not from my all MariadB node. Why ?

Regards  
Olivier

---

<div class="post-metadata">

**Author:** ![Agustin\_G](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/agustin_g/32/14111_2.png) [@Agustin\_G](https://forums.percona.com/u/Agustin_G)\
**Post date:** [June 5, 2024, 8:07pm UTC](https://forums.percona.com/t/explain-about-request-com/30773/4 "2024-06-05T20:07:16Z")

</div>

You will need to check if you are correctly collecting query-related information on that database node. Check with:

`pmm-admin list`

You should see the query exporter running correctly, or check the PMM client logs:

`journalctl -u pmm-agent`

By default, you need to be logging queries in the slow query log for QAN to get query-related information, so also check it is enabled and that long\_query\_time is not set to something that would not allow queries to be logged

---

<div class="post-metadata">

**Author:** ![Olivier\_Studer](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/olivier_studer/32/16602_2.png) [@Olivier\_Studer](https://forums.percona.com/u/Olivier_Studer)\
**Post date:** [June 6, 2024, 5:56am UTC](https://forums.percona.com/t/explain-about-request-com/30773/5 "2024-06-06T05:56:41Z")

</div>

Hi,

I’m not sure that I have the correct set of the agent. See below the output:  
[root@svx-mdb-04t etc]# pmm-admin list  
Service type Service name Address and port Service ID  
MySQL svx-mdb-04t-mysql 127.0.0.1:3306 /service\_id/8bf4db57-7e8f-4e26-88a4-0dbba30fe6c0

Agent type Status Metrics Mode Agent ID Service ID Port  
pmm\_agent Connected /agent\_id/1698c8f9-7d3c-4137-8416-0ef91a68e3cb 0  
node\_exporter Running push /agent\_id/a65d1f6c-7a94-427d-9feb-cb6aab5585e8 42001  
mysqld\_exporter Running push /agent\_id/2088cb1f-59ed-4f13-a999-0856a2ac8738 /service\_id/8bf4db57-7e8f-4e26-88a4-0dbba30fe6c0 42000  
mysql\_slowlog\_agent Running /agent\_id/7f7ace05-c19b-400f-af2b-effd2d63f497 /service\_id/8bf4db57-7e8f-4e26-88a4-0dbba30fe6c0 0  
vmagent Running push /agent\_id/f8d1a733-8d61-4fcb-bd70-235c7b1eb7c0 42002

[root@svx-mdb-04t etc]# journalctl -u pmm-agent  
– Logs begin at Tue 2024-06-04 08:37:15 CEST, end at Thu 2024-06-06 07:54:18 CEST. –  
Jun 04 08:37:20 svx-mdb-04t systemd[1]: Started pmm-agent.  
Jun 04 08:37:20 svx-mdb-04t pmm-agent[1038]: time=“2024-06-04T08:37:20.531+02:00” level=info msg=“Loading configuration file /usr/local/percona/pmm2/config/pmm-agent.yaml.” component=main  
Jun 04 08:37:20 svx-mdb-04t pmm-agent[1038]: time=“2024-06-04T08:37:20.533+02:00” level=info msg=“Using /usr/local/percona/pmm2/exporters/node\_exporter” component=main  
Jun 04 08:37:20 svx-mdb-04t pmm-agent[1038]: time=“2024-06-04T08:37:20.533+02:00” level=info msg=“Using /usr/local/percona/pmm2/exporters/mysqld\_exporter” component=main  
Jun 04 08:37:20 svx-mdb-04t pmm-agent[1038]: time=“2024-06-04T08:37:20.533+02:00” level=info msg=“Using /usr/local/percona/pmm2/exporters/mongodb\_exporter” component=main  
Jun 04 08:37:20 svx-mdb-04t pmm-agent[1038]: time=“2024-06-04T08:37:20.533+02:00” level=info msg=“Using /usr/local/percona/pmm2/exporters/postgres\_exporter” component=main  
Jun 04 08:37:20 svx-mdb-04t pmm-agent[1038]: time=“2024-06-04T08:37:20.533+02:00” level=info msg=“Using /usr/local/percona/pmm2/exporters/proxysql\_exporter” component=main  
Jun 04 08:37:20 svx-mdb-04t pmm-agent[1038]: time=“2024-06-04T08:37:20.533+02:00” level=info msg=“Using /usr/local/percona/pmm2/exporters/rds\_exporter” component=main  
Jun 04 08:37:20 svx-mdb-04t pmm-agent[1038]: time=“2024-06-04T08:37:20.533+02:00” level=info msg=“Using /usr/local/percona/pmm2/exporters/azure\_exporter” component=main  
Jun 04 08:37:20 svx-mdb-04t pmm-agent[1038]: time=“2024-06-04T08:37:20.533+02:00” level=info msg=“Using /usr/local/percona/pmm2/exporters/vmagent” component=main  
Jun 04 08:37:22 svx-mdb-04t pmm-agent[1038]: time=“2024-06-04T08:37:22.847+02:00” level=warning msg="ts=2024-06-04T06:37:22.844Z caller=node\_exporter.go:186 level=warn msg="Node Exporter is running as root user. This exporter is designed to run as unprivileged user, root is not re\>  
Jun 05 09:44:30 svx-mdb-04t pmm-agent[1038]: time=“2024-06-05T09:44:30.519+02:00” level=error msg="Failed to establish two-way communication channel: unexpected HTTP status code received from server: 500 (Internal Server Error); transport: received unexpected content-type "text/ht\>  
Jun 05 09:44:36 svx-mdb-04t pmm-agent[1038]: time=“2024-06-05T09:44:36.329+02:00” level=error msg=“Failed to connect to svx-perc-01.unifr.ch:443: timeout.” component=client  
Jun 05 09:44:40 svx-mdb-04t pmm-agent[1038]: time=“2024-06-05T09:44:40.216+02:00” level=error msg="Failed to establish two-way communication channel: unexpected HTTP status code received from server: 500 (Internal Server Error); transport: received unexpected content-type "text/ht\>  
Jun 05 10:00:25 svx-mdb-04t pmm-agent[1038]: time=“2024-06-05T10:00:25.967+02:00” level=error msg="Failed to establish two-way communication channel: unexpected HTTP status code received from server: 500 (Internal Server Error); transport: received unexpected content-type "text/ht\>  
Jun 05 10:00:33 svx-mdb-04t pmm-agent[1038]: time=“2024-06-05T10:00:33.608+02:00” level=error msg=“Failed to connect to svx-perc-01.unifr.ch:443: timeout.” component=client  
Jun 05 10:03:48 svx-mdb-04t pmm-agent[1038]: time=“2024-06-05T10:03:48.516+02:00” level=error msg="Failed to establish two-way communication channel: unexpected HTTP status code received from server: 500 (Internal Server Error); transport: received unexpected content-type "text/ht\>  
[root@svx-mdb-04t etc]#

Or this is database parameter. If it is that, the parameter is set to 2.  
MariaDB [(none)]\> show variables like ‘long\_query\_time’;  
±----------------±---------+  
| Variable\_name | Value |  
±----------------±---------+  
| long\_query\_time | 2.000000 |  
±----------------±---------+  
1 row in set (0.001 sec)

MariaDB [(none)]\>

I need more help  
Regards  
Olivier
