# PMM2 and custom metrics.

**URL:** <https://forums.percona.com/t/pmm2-and-custom-metrics/7300>\
**Category:** PMM 2.x\
**Created:** [November 19, 2019, 2:38am UTC](https://forums.percona.com/t/pmm2-and-custom-metrics/7300 "2019-11-19T02:38:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stateros](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/stateros/32/2490_2.png) [@Stateros](https://forums.percona.com/u/Stateros)\
**Post date:** [November 19, 2019, 2:38am UTC](https://forums.percona.com/t/pmm2-and-custom-metrics/7300/1 "2019-11-19T02:38:09Z")

</div>

Hello. Does pmm2 support this [url][https://www.percona.com/blog/2019/03/12/pmms-custom-queries-in-action-adding-a-graph-for-innodb-mutex-waits/[/url]](https://www.percona.com/blog/2019/03/12/pmms-custom-queries-in-action-adding-a-graph-for-innodb-mutex-waits/%5B/url%5D) ?  
I want to make new dashboard to monitor user statistics based on performance\_schema, not on information\_schema.

Maybe you have any other idea or experience.

---

<div class="post-metadata">

**Author:** ![Stateros](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/stateros/32/2490_2.png) [@Stateros](https://forums.percona.com/u/Stateros)\
**Post date:** [November 28, 2019, 2:51am UTC](https://forums.percona.com/t/pmm2-and-custom-metrics/7300/2 "2019-11-28T02:51:34Z")

</div>

[lorraine.pocklington](https://percona.vanillacommunities.com/profile/x/x/41223) maybe you have any idea? ))

---

<div class="post-metadata">

**Author:** ![lorraine.pocklington](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/lorraine.pocklington/32/37_2.png) [@lorraine.pocklington](https://forums.percona.com/u/lorraine.pocklington)\
**Post date:** [November 28, 2019, 4:17am UTC](https://forums.percona.com/t/pmm2-and-custom-metrics/7300/3 "2019-11-28T04:17:13Z")

</div>

Hey there, thanks for asking Stateros (and for answering some users’ questions recently too! 🙂 )  
I’ll get in touch with the team and see if I can find out the status on this.  
It’s Thanksgiving so it may be a little delayed… let’s see.

---

<div class="post-metadata">

**Author:** ![Roma\_Novikov](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/roma_novikov/32/1161_2.png) [@Roma\_Novikov](https://forums.percona.com/u/Roma_Novikov)\
**Post date:** [November 28, 2019, 4:49am UTC](https://forums.percona.com/t/pmm2-and-custom-metrics/7300/4 "2019-11-28T04:49:40Z")

</div>

[Stateros](https://percona.vanillacommunities.com/profile/x/x/37012) , this feature exists in PMM2 and improved. For now, you can use custom queries in 3 resolutions. Please see /usr/local/percona/pmm/collectors/custom-queries/mysql/ .  
There will be 3 folders and you can put your file with queries in needed resolution

---

<div class="post-metadata">

**Author:** ![Stateros](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/stateros/32/2490_2.png) [@Stateros](https://forums.percona.com/u/Stateros)\
**Post date:** [November 28, 2019, 7:16am UTC](https://forums.percona.com/t/pmm2-and-custom-metrics/7300/5 "2019-11-28T07:16:25Z")

</div>

[lorraine.pocklington](https://percona.vanillacommunities.com/profile/x/x/41223) thanks a lot

[roma.novikov](https://www.percona.com/forums/member/33948-roma-novikov) I will check it and try. Thanks.

---

<div class="post-metadata">

**Author:** ![Stateros](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/stateros/32/2490_2.png) [@Stateros](https://forums.percona.com/u/Stateros)\
**Post date:** [December 3, 2019, 8:28am UTC](https://forums.percona.com/t/pmm2-and-custom-metrics/7300/6 "2019-12-03T08:28:58Z")

</div>

[roma.novikov](https://percona.vanillacommunities.com/profile/x/x/33948) Hello, thank you, everything works fine and very easy to implement any idea.  
Just one question about resolutions. Whats the difference between high, medium and low?
