# Configure json\_exporter

## Configure json\_exporter

{% hint style="danger" %}
The instructions below will overwrite your current `json_exporter.yml` file with a version that supports the Stake Local Dashboard. A backup will be made of your existing file, but it is up to you to merge the two files, if necessary.
{% endhint %}

{% hint style="warning" %}
This configuration requires json\_exporter v0.5.0 or later.
{% endhint %}

Back up your current `json_exporter.yml` file to your home directory, if you have one.

```bash
cp -v --backup=numbered /etc/json_exporter/json_exporter.yml ~/
```

<figure><img src="https://971382438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZON6xeJcH6NDhbzjDAWf%2Fuploads%2FHe7u3Pr1l8wK5HbV5Tqz%2Fcp-backup-json_exporter.png?alt=media&#x26;token=7cf30a71-33b8-4dca-aa5b-4e683d2a9c03" alt=""><figcaption><p>Results of <code>cp</code> command</p></figcaption></figure>

### Install Rules from Repository

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

```bash
cd ~/git/stakelocal-dashboard/config/json_exporter
sudo cp json_exporter.yml /etc/json_exporter
```
