# 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="/files/QEPgudQ4DAq6CMg2Zn0v" 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
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stakelocal.io/dashboard-installation/configure-supporting-software/configure-json_exporter.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
