# How to integrate node exporter with mysql

**URL:** <https://forums.percona.com/t/how-to-integrate-node-exporter-with-mysql/11059>\
**Category:** General Questions\
**Created:** [June 28, 2021, 4:05am UTC](https://forums.percona.com/t/how-to-integrate-node-exporter-with-mysql/11059 "2021-06-28T04:05:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cshannu](https://avatars.discourse-cdn.com/v4/letter/c/e0b2c6/32.png) [@cshannu](https://forums.percona.com/u/cshannu)\
**Post date:** [June 28, 2021, 4:05am UTC](https://forums.percona.com/t/how-to-integrate-node-exporter-with-mysql/11059/1 "2021-06-28T04:05:10Z")

</div>

can any one please let me know that how to integrate exporter with msql for pmm plugin dashboards. I have explored so much time but i didn’t get anything

---

<div class="post-metadata">

**Author:** ![Vadim\_Yalovets](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vadim_yalovets/32/43_2.png) [@Vadim\_Yalovets](https://forums.percona.com/u/Vadim_Yalovets)\
**Post date:** [June 28, 2021, 7:11am UTC](https://forums.percona.com/t/how-to-integrate-node-exporter-with-mysql/11059/2 "2021-06-28T07:11:27Z")

</div>

Hi @cshannu

Are you trying to use PMM dashboards outside the PMM?  
Please add additional labels:

- node\_name,
- service\_name,
- replication\_set,
- cluster

e.g.

 ![Screenshot_20210624_143351](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/4/4fb608aa2f2c0e4581d01bc41213dbd02121cc8a.png)

---

<div class="post-metadata">

**Author:** ![Charles\_Mc\_Kenzie](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/charles_mc_kenzie/32/5243_2.png) [@Charles\_Mc\_Kenzie](https://forums.percona.com/u/Charles_Mc_Kenzie)\
**Post date:** [March 1, 2022, 7:48am UTC](https://forums.percona.com/t/how-to-integrate-node-exporter-with-mysql/11059/3 "2022-03-01T07:48:35Z")

</div>

Hi, I have integrated with MySQL in my SpotnRides Uber clone app. I will add the code snippet below for your reference.

$cat /etc/prometheus/prometheus.yml

#my global config  
global:  
scrape\_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.  
evaluation\_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.  
#scrape\_timeout is set to the global default (10s).

#Alertmanager configuration  
alerting:  
alertmanagers:

- static\_configs:
- targets:  
#- alertmanager:9093

#Load rules once and periodically evaluate them according to the global ‘evaluation\_interval’.  
rule\_files:  
#- “first\_rules.yml”  
#- “second\_rules.yml”

#A scrape configuration containing exactly one endpoint to scrape:  
#Here it’s Prometheus itself.  
scrape\_configs:  
#The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.

- job\_name: ‘prometheus’

#metrics\_path defaults to ‘/metrics’  
#scheme defaults to ‘http’.

static\_configs:

- targets: [‘localhost:9090’]
