Monitor the performance of your Quai Network Node.
Quai Network Node | A Quai Network node to enable monitoring for. |
Grafana | An open-source analytics and monitoring solution. |
Prometheus | An open-source monitoring and alerting toolkit. |
go-quai
has a pre-configured Prometheus configuration file that you can use. To use this configuration file, run the following command:
--metrics.enabled
flag. This will enable Prometheus to scrape metrics from your node. To start your node with the --metrics.enabled
flag, run your normal node startup command with the metrics flag added to it:
http://localhost:3000
. You will be prompted to log in. The default username and password are both admin
.
Open Connections Menu
Connections
in the left-hand menu.Add New Connection
Add new connection
.Select Prometheus
Prometheus
from the list of data sources. You may need to search for it.Add New Data Source
Add new data source
in the upper right. This will take you to a settings tab where you can configure Prometheus.Set Prometheus Server URL
Connection
section of the settings tab, enter the following URL:http://localhost:9090
if you’re monitoring a local machinehttp://EXTERNALIPADDRESS:9090
if you are monitoring an external nodeOpen Dashboards
Dashboards
in the left-hand menu.Create New Dashboard
New
button.Import Configuration
Import
button.Paste Configuration
metrics_config/grafana_metrics.json
into the text box. You can find the configuration file
here