Grafana allows you to easily visualize your monitoring results and other analytics
From here, you're going to want to set up alerts for if something happens with your node, which will be a follow-up document.
This is largely just a copy of scaleway's setup, but updated and customized for Secret Network.
Install Grafana on our instance which queries our Prometheus server.
Enable the automatic start of Grafana by systemd
:
Grafana is running now, and we can connect to it at http://your.server.ip:3000
. The default user and password is admin
/ admin
.
Now you have to create a Prometheus data source:
Click the Grafana logo to open the sidebar.
Click “Data Sources” in the sidebar.
Choose “Add New”.
Select “Prometheus” as the data source
Set the Prometheus server URL (in our case: http://localhost:9090/)
Click “Add” to test the connection and to save the new data source
Finally, we're going to install a basic dashboard for Cosmos SDKs. For further reference in these steps, see: https://github.com/zhangyelong/cosmos-dashboard
Append a job
under the scrape_configs
of your prometheus.yml
Set chain-id to secret-3
You're done!\
After restarting your node, you should be able to access the tendermint metrics(default port is 26660):
Copy and paste the 11036
OR content of , click on Load
to complete importing.
Install Grafana on our instance which queries our Prometheus server.
Enable the automatic start of Grafana by systemd
:
Grafana is running now, and we can connect to it at http://your.server.ip:3000
. The default user and password is admin
/ admin
.
Now you have to create a Prometheus data source: - Click the Grafana logo to open the sidebar. - Click “Data Sources” in the sidebar. - Choose “Add New”. - Select “Prometheus” as the data source. - Set the Prometheus server URL (in our case: http://localhost:9090/) - Click “Add” to test the connection and to save the new data source.