IPFS monitoring with Netdata

What is IPFS?

IPFS (InterPlanetary File System) is an open source distributed file system that seeks to connect all computing devices with the same system of files. It is a content-addressed, versioned, peer-to-peer file system that seeks to replace the traditional client-server model, making the web faster, safer, and more open.

Monitoring IPFS with Netdata

The prerequisites for monitoring IPFS with Netdata are to have IPFS and Netdata installed on your system.

Netdata auto discovers hundreds of services, and for those it doesn’t turning on manual discovery is a one line configuration. For more information on configuring Netdata for IPFS monitoring please read the collector documentation.

You should now see the IPFS section on the Overview tab in Netdata Cloud already populated with charts about all the metrics you care about.

Netdata has a public demo space (no login required) where you can explore different monitoring use-cases and get a feel for Netdata.

What IPFS metrics are important to monitor - and why?

Bandwidth

Bandwidth is a measure of the amount of data that can be transferred through a network in a certain amount of time. For IPFS, monitoring bandwidth can be important to identify bottlenecks and optimize performance. It can also help to identify potential security issues, such as unexpected data transfers or malicious actors. Monitoring and tracking bandwidth will help to ensure that IPFS is running efficiently and securely.

Peers

Peers are the nodes that make up the IPFS network. Monitoring the number of peers on the network can be useful for understanding the overall health of the network. It can also help identify any issues that may be causing low performance or instability. Additionally, tracking the number of peers can help to identify any malicious actors or other suspicious activity on the network.

Repo Size

The IPFS repo size is a measure of the total amount of data stored in the IPFS system. Tracking repo size is important as it can help to identify any issues that may be causing the system to become bloated. Additionally, tracking repo size can help to identify any malicious actors or unexpected data transfers that could be occurring on the network.

Netdata has a built in alert for this metric which is triggered if the IPFS datastore utilization exceeds a threshold of 90% (for a warning alert) and 98% (for a critical alert)

Repo Objects

The number of objects stored in the IPFS repo is a measure of the total amount of data stored in the system. Monitoring this metric can help to ensure that the system is not becoming bloated, which can lead to performance issues and instability. Additionally, tracking the number of objects can help to identify any malicious actors or unexpected data transfers that could be occurring on the network.

Get Netdata

Sign up for free

Want to see a demonstration of Netdata for multiple use cases?

Go to Live Demo