Monitoring
The nodes don't send telemetry data to Polkadot telemetry by default. This can be enabled by using the --telemetry-url='wss://telemetry.polkadot.io/submit/ 0'
command.
You can also check our mainnet explorer at Subscan.
To monitor other data such as network usage, CPU usage, disk usage, block production, number of connected peers, etc., Prometheus is used. Nodes by default make this data available at 127.0.0.1:9615 (but can be overwritten with allowPrometheusExt
) and thus Prometheus interface can be configured to listen to that. Prometheus can be downloaded from here. Once Prometheus is running, configure as follows:
Now the Prometheus UI will show various metrics prefixed with substrate_
.
To visualize the above metrics on Grafana, import this Grafana dashboard. If you don't know how to import a dashboard, check here.
Last updated