> For the complete documentation index, see [llms.txt](https://docs.stakelocal.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stakelocal.io/dashboard-installation/configure-supporting-software/configure-prometheus-rules.md).

# Configure Prometheus Rules

## Configuring Prometheus Rules

Prometheus rules improve query response times by precomputing expensive query expressions.

### Install Rules from Repository

Copy the `stakelocal_rules.yml` rules configuration file from the Stake Local Dashboard repository to `/etc/prometheus/rules.d/`.

```bash
cd ~/git/stakelocal-dashboard/config/prometheus/rules.d
sudo cp stakelocal_rules.yml /etc/prometheus/rules.d
```
