# Not able to see app queries in PMM

**URL:** <https://forums.percona.com/t/not-able-to-see-app-queries-in-pmm/36005>\
**Category:** Percona Monitoring and Management (PMM)\
**Created:** [January 7, 2025, 1:02pm UTC](https://forums.percona.com/t/not-able-to-see-app-queries-in-pmm/36005 "2025-01-07T13:02:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![siddharth0204](https://avatars.discourse-cdn.com/v4/letter/s/71e660/32.png) [@siddharth0204](https://forums.percona.com/u/siddharth0204)\
**Post date:** [January 7, 2025, 1:02pm UTC](https://forums.percona.com/t/not-able-to-see-app-queries-in-pmm/36005/1 "2025-01-07T13:02:55Z")

</div>

## Description:

I am not able to see queries that i fired from dbeaver or any user queries in query analytics.  
I just installed PMM

## Steps to Reproduce:

Create a user monitor\_user. give the required privileges.

## Version:

[Insert the version number of the software]

## Logs:

[If applicable, include any relevant log files or error messages]

## Expected Result:

[What the user expected to see or happen before the issue occurred]

## Actual Result:

[What actually happened when the user encountered the issue]

## Additional Information:

[Include any additional information that could be helpful to diagnose the issue, such as browser or device information]

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [January 7, 2025, 6:26pm UTC](https://forums.percona.com/t/not-able-to-see-app-queries-in-pmm/36005/2 "2025-01-07T18:26:00Z")

</div>

Please provide the exact command used to install the pmm-client package and enable the MySQL-PMM Agent. Verify that your slow log is enabled, and long-query-time=0, or verify that your performance\_schema is enabled with defaults.

---

<div class="post-metadata">

**Author:** ![siddharth0204](https://avatars.discourse-cdn.com/v4/letter/s/71e660/32.png) [@siddharth0204](https://forums.percona.com/u/siddharth0204)\
**Post date:** [January 8, 2025, 8:35am UTC](https://forums.percona.com/t/not-able-to-see-app-queries-in-pmm/36005/3 "2025-01-08T08:35:29Z")

</div>

This is a Postgresql ec2 instance.

Here are the commands used  
yum -y install docker  
sudo service docker start  
wget -O - [https://www.percona.com/get/pmm](https://www.percona.com/get/pmm) | /bin/bash

Change database parameters

shared\_preload\_libraries=pg\_stat\_statements

[https://XX.XX.XX.190:443/](https://XX.XX.XX.190/)

Thanks for all the assistance

Regards  
Siddharth

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [January 8, 2025, 12:43pm UTC](https://forums.percona.com/t/not-able-to-see-app-queries-in-pmm/36005/4 "2025-01-08T12:43:05Z")

</div>

Hello @siddharth0204,  
It looks like you’ve only installed the PMM Server. You must also install the PMM Client agents on each server you want to monitor/collect queries.

> **[Percona Monitoring and Management - PostgreSQL](https://docs.percona.com/percona-monitoring-and-management/setting-up/client/postgresql.html)**
>
> How to set up PMM to monitor a PostgreSQL or Percona Distribution for PostgreSQL database instance.

---

<div class="post-metadata">

**Author:** ![siddharth0204](https://avatars.discourse-cdn.com/v4/letter/s/71e660/32.png) [@siddharth0204](https://forums.percona.com/u/siddharth0204)\
**Post date:** [January 9, 2025, 12:58pm UTC](https://forums.percona.com/t/not-able-to-see-app-queries-in-pmm/36005/5 "2025-01-09T12:58:09Z")

</div>

thanks Matthew for your response.  
Just for us to know i have installed PMM on the same server as the EC2 instance is.

Seems I may still require PMM client to be installed.  
I will try this and get back to you.

Thank you for your assistance

Regards,  
Siddharth

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [January 9, 2025, 2:10pm UTC](https://forums.percona.com/t/not-able-to-see-app-queries-in-pmm/36005/6 "2025-01-09T14:10:06Z")

</div>

> [@siddharth0204](#):
>
> Just for us to know i have installed PMM on the same server as the EC2 instance is.

You should install PMM Server on a dedicated monitoring server; do not install PMM server on the same machine as your database.

> [@siddharth0204](#):
>
> Seems I may still require PMM client to be installed.

Yes, you install the client agent on your database machine.

Please review the [PMM architecture](https://docs.percona.com/percona-monitoring-and-management/2/details/architecture.html) if you need additional info.
