# EMQ X Prometheus Agent

EMQ X Prometheus Agent supports pushing data to Pushgateway, and then pulling it by Promethues Server for storage.

# Create module

Open EMQ X Dashboard (opens new window), click the "Modules" tab on the left, and choose to add:

image-20200927213049265

Choose EMQ X Prometheus Agent

image-20200927213049265

Configure related parameters

image-20200927213049265

After clicking add, the module is added

image-20200927213049265

# Grafana Data Template

The ʻemqx_prometheus` plugin provides template files for Grafana's Dashboard. These templates contain the display of all EMQ X monitoring data. Users can directly import it into Grafana to display the icon of EMQ X monitoring status.

The template file is located at: emqx_prometheus/grafana_template (opens new window).