diff --git a/docs/infrastructure/faq.md b/docs/infrastructure/faq.md index 5f771cbc5f..a5c4791605 100644 --- a/docs/infrastructure/faq.md +++ b/docs/infrastructure/faq.md @@ -68,6 +68,10 @@ This error usually indicates that the Fleet server has run out of file descripto This could be caused by a mismatched connection limit between the Fleet server and the MySQL server that prevents Fleet from fully utilizing the database. First [determine how many open connections your MySQL server supports](https://dev.mysql.com/doc/refman/8.0/en/too-many-connections.html). Now set the [`--mysql_max_open_conns`](./configuring-the-fleet-binary.md#mysql_max_open_conns) and [`--mysql_max_idle_conns`](./configuring-the-fleet-binary.md#mysql_max_idle_conns) flags appropriately. +## How do I monitor the performance of my queries? + +Fleet can live query the `osquery_schedule` table. Performing this live query allows you to get the performance data for your scheduled queries. Also consider scheduling a query to the `osquery_schedule` table to get these logs into your logging pipeline. + ## Why am I receiving a database connection error when attempting to "prepare" the database? First, check if you have a version of MySQL installed that is at least 5.7. Then, make sure that you currently have a MySQL server running.