Configure json_exporter

Configure how json_exporter communicates with APIs

Configure json_exporter

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

cp -v --backup=numbered /etc/json_exporter/json_exporter.yml ~/
Results of cp command

Install Rules from Repository

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

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

Last updated