# json\_exporter Target

## json\_exporter Target

Edit the json\_exporter configuration file in the `/etc/prometheus/files_sd/stakelocal/other` directory.

```bash
sudo nano /etc/prometheus/files_sd/stakelocal/other/json_exporter.yml
```

It should look like the following.

```yaml
    - targets: ['127.0.0.1:7979']
      labels:
        host: 'Default Host'
        service: 'JSON Exporter'
        client: 'JSON Exporter'
```

If this instance of json\_exporter is accessible at a different IP address or port, update those in the `targets` line.

Update the `host` or `service` labels, as needed. See [About Stake Local Labels](https://docs.stakelocal.io/dashboard-installation/prometheus-jobs-and-targets/about-stake-local-labels) for label definitions.

Save the file and exit the editor.

An example target file could look like the following.

```
    - targets: ['127.0.0.1:7979']
      labels:
        host: 'MacBook'
        service: 'JSON Exporter'
        client: 'JSON Exporter'
```
