> ## Documentation Index
> Fetch the complete documentation index at: https://kb.hosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installing and using the Query Monitor plugin

> This article describes how to install and use the Query Monitor plugin,\_a debugging tool that helps you monitor\_WordPress\_performance.

This article describes how to install and use the [Query Monitor](https://wordpress.org/plugins/query-monitor/) plugin, a debugging tool that helps you monitor WordPress performance. With Query Monitor, you can track many things, including:

* Database queries.

* HTTP request and response headers.

* Scripts, including hooks and actions.

* Site environment information, including the server, PHP, MySQL, and WordPress.

<Note>
  For more information about what Query Monitor can do, please visit [https://github.com/johnbillion/query-monitor](https://github.com/johnbillion/query-monitor).
</Note>

## Installing the plugin

To install Query Monitor on your WordPress site, follow these steps:

1. Log in to your WordPress site as the administrator.

2. In the left sidebar, click **Plugins**:\
   ![WordPress - Sidebar - Plugins](https://static.hosting.com/kb/kb-wordpress-sidebar-plugins.png)

3. Click **Add New**.

4. In the **Search plugins** text box, type `query monitor`, and then press Enter:\
   ![WordPress - Search plugins text box](https://static.hosting.com/kb/kb-wordpress-search-plugins-textbox.png)

5. Locate **Query Monitor**, and then click **Install Now**:\
   ![WordPress - Query Monitor install](https://static.hosting.com/kb/kb-wordpress-query-monitor-install.png)

6. After WordPress finishes installing the plugin, click **Activate**. The Query Monitor appears in the toolbar:\
   ![WordPress - Query Monitor toolbar](https://static.hosting.com/kb/kb-wordpress-query-monitor-toolbar.png)

## Using the plugin

After you install the Query Monitor plugin, you are ready to monitor your site. To do this, follow these steps:

1. Log in to your WordPress site as the administrator.

2. On the toolbar, select an option from the Query Monitor menu:\
   ![WordPress - Query Monitor menu](https://static.hosting.com/kb/kb-wordpress-query-monitor-menu.png)

For complete information about all of these options, please see the Query Monitor documentation at [https://github.com/johnbillion/query-monitor](https://github.com/johnbillion/query-monitor). Some of the most useful options are:

* **Queries**: This option shows the raw database queries that were used to help generate the current page, as well as the functions that ran the queries.

* **Request**: This option shows the HTTP request for the current page.

* **Scripts**: This option shows all of the script files loaded for the current page.

* **Styles**: This option shows all of the style (CSS) files loaded for the current page.

* **Hooks & Actions**: This option shows all of the hooks and their associated actions for the current page.

* **Environment**: This option shows environment settings for the site, including PHP, MySQL, WordPress, and the web server.

## More information

For more information about the Query Monitor plugin, please visit [https://wordpress.org/plugins/query-monitor](https://wordpress.org/plugins/query-monitor).

## Related articles

* [Debugging WordPress](/docs/debugging-wordpress)

* [Troubleshooting WordPress](/docs/troubleshooting-wordpress)

* [Troubleshooting blank pages in WordPress](/docs/troubleshooting-blank-pages-in-wordpress)
