# Prometheus and PMM

**URL:** <https://forums.percona.com/t/prometheus-and-pmm/10173>\
**Category:** Database Monitoring and Management\
**Created:** [April 20, 2021, 1:18pm UTC](https://forums.percona.com/t/prometheus-and-pmm/10173 "2021-04-20T13:18:47Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nehemia](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/nehemia/32/3025_2.png) [@Nehemia](https://forums.percona.com/u/Nehemia)\
**Post date:** [April 20, 2021, 1:18pm UTC](https://forums.percona.com/t/prometheus-and-pmm/10173/1 "2021-04-20T13:18:47Z")

</div>

I have a hard time understanding the role of the PMM service  
In my K8S cluster, I have Prometheus as a monitoring tool which I use to monitor virtually everything  
Now, using Percona for MySQL I understand that in order to monitor the Percona Cluster I need PMM  
is that true or I can use Prometheus for that?  
If that is true how can I connect the Prometheus monitoring with PMM I would like to have one monitoring solution in my cluster  
tried to find documentation about it but failed

---

<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 20, 2021, 2:58pm UTC](https://forums.percona.com/t/prometheus-and-pmm/10173/2 "2021-04-20T14:58:47Z")

</div>

Percona Monitoring and Management (PMM) offers additional monitoring functionality - goes much deeper than what Prometheus install in Kubernetes can offer, for example deep insights into specific query performance.

---

<div class="post-metadata">

**Author:** ![Nehemia](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/nehemia/32/3025_2.png) [@Nehemia](https://forums.percona.com/u/Nehemia)\
**Post date:** [April 20, 2021, 3:13pm UTC](https://forums.percona.com/t/prometheus-and-pmm/10173/3 "2021-04-20T15:13:38Z")

</div>

Thank you for your response  
That is great 🙂  
And I have no issue with PMM  
but still, it would be great if I could have one system in my cluster that enables me to understand if there are issues  
If I have to dig deeper them PMM is the right way to go  
Is there a way to integrate the two?

---

<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 20, 2021, 3:19pm UTC](https://forums.percona.com/t/prometheus-and-pmm/10173/4 "2021-04-20T15:19:46Z")

</div>

Yes. We’re looking how to have PMM get more info from your Kubernetes cluster so it is all available in PMM

---

<div class="post-metadata">

**Author:** ![Nehemia](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/nehemia/32/3025_2.png) [@Nehemia](https://forums.percona.com/u/Nehemia)\
**Post date:** [April 20, 2021, 3:47pm UTC](https://forums.percona.com/t/prometheus-and-pmm/10173/5 "2021-04-20T15:47:14Z")

</div>

Ok, assuming I want to stay with Prometheus is there exporters that the PMM supply that I can use to send the metrics to Prometheus?

---

<div class="post-metadata">

**Author:** ![Nehemia](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/nehemia/32/3025_2.png) [@Nehemia](https://forums.percona.com/u/Nehemia)\
**Post date:** [April 21, 2021, 5:15am UTC](https://forums.percona.com/t/prometheus-and-pmm/10173/6 "2021-04-21T05:15:16Z")

</div>

I wanted to add more as the motivation  
Using Percona IMOP is for managing the database needs, this includes monitoring for sure.  
But if by choosing Percona I must also switch the monitoring tool I am using (may it whatever tool I am using) this, again IMOP will prevent users from using Percona.  
Monitoring and Database management is two different things.  
I really would like to know how I can use the Percona cluster but not using the PMM as my only monitoring tool for all other services.  
Having two different monitoring tool is not a good solution  
Hope is more clear now

---

<div class="post-metadata">

**Author:** ![vadimtk](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vadimtk/32/9528_2.png) [@vadimtk](https://forums.percona.com/u/vadimtk)\
**Post date:** [April 21, 2021, 12:20pm UTC](https://forums.percona.com/t/prometheus-and-pmm/10173/7 "2021-04-21T12:20:51Z")

</div>

@Nehemia you do not have to use PMM if you do not want to.  
You can deploy our database operators without PMM.  
In the next version we will support sidecar containers and you can deploy monitoring agent for your favorite monitoring system using sidecar.

---

<div class="post-metadata">

**Author:** ![Nehemia](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/nehemia/32/3025_2.png) [@Nehemia](https://forums.percona.com/u/Nehemia)\
**Post date:** [April 21, 2021, 12:39pm UTC](https://forums.percona.com/t/prometheus-and-pmm/10173/8 "2021-04-21T12:39:21Z")

</div>

Thank you, so when deploying the cluster with the monitoring on I get all the metrics in a way Prometheus will be able to collect?

---

<div class="post-metadata">

**Author:** ![vadimtk](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vadimtk/32/9528_2.png) [@vadimtk](https://forums.percona.com/u/vadimtk)\
**Post date:** [April 21, 2021, 11:23pm UTC](https://forums.percona.com/t/prometheus-and-pmm/10173/9 "2021-04-21T23:23:10Z")

</div>

@Nehemia you will need to provide a sidecar container with node\_exporter and mysql\_exporter inside to collect metrics for Prometheus

---

<div class="post-metadata">

**Author:** ![Nehemia](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/nehemia/32/3025_2.png) [@Nehemia](https://forums.percona.com/u/Nehemia)\
**Post date:** [April 22, 2021, 4:42am UTC](https://forums.percona.com/t/prometheus-and-pmm/10173/10 "2021-04-22T04:42:38Z")

</div>

Ok now it is clear thanks
