# Setup alerting for slow queries in PMM

**URL:** <https://forums.percona.com/t/setup-alerting-for-slow-queries-in-pmm/16525>\
**Category:** Percona Monitoring and Management (PMM)\
**Created:** [July 12, 2022, 10:55am UTC](https://forums.percona.com/t/setup-alerting-for-slow-queries-in-pmm/16525 "2022-07-12T10:55:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![murali1](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@murali1](https://forums.percona.com/u/murali1)\
**Post date:** [July 12, 2022, 10:55am UTC](https://forums.percona.com/t/setup-alerting-for-slow-queries-in-pmm/16525/1 "2022-07-12T10:55:24Z")

</div>

On pmm, I have setup alerting to send alerts to teams channel for things like high thread connections. Similarly, I would like to receive the top 5 slow queries in my teams channel.

Can someone guide me on how I can achieve this ?

Thanks

---

<div class="post-metadata">

**Author:** ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)\
**Post date:** [July 12, 2022, 4:51pm UTC](https://forums.percona.com/t/setup-alerting-for-slow-queries-in-pmm/16525/2 "2022-07-12T16:51:51Z")

</div>

Hi @murali1 , welcome to the Percona forums!  
At this time, there is no supported method to set up Integrated Alerting IA against Query data, since they are stored in two different databases (VictoriaMetrics VM vs ClickHouse) and IA only works against VM. I agree that using IA against ClickHouse would be fantastic.

You can try out this dashboard to visualize topk()

> **[RED Method for MySQL Queries - Designed for PMM2](https://grafana.com/grafana/dashboards/12470-red-method-for-mysql-queries-designed-for-pmm2/)**
