Opvizor monitors Parity Ethereum Blockchain

  1. full monitoring of all member nodes (that run the distributed Blockchain)
  2. full monitoring of the container and applications (incl. configuration, metrics and logfiles) of the ZTC mainnet
  3. monitoring and alerting of the backend (blockchain itself and the consensus)

Parity Ethereum blockchain using Aura

ZTC chose Parity Ethereum to provide a consortium blockchain, that is permissioned, but public. Public visibility is important, so every user worldwide can doublecheck if the information stored on the consortium blockchain are valid. Aura (Authority Round) has been chosen as the consensus algorithm of the ZTC Parity Ethereum implementation. You can read more about Aura here: https://wiki.parity.io/Aura

Let’s start with the Node Monitoring

  • exact time: all nodes need to run at the exact same time, 1–3 seconds difference are not good but ok, over 5 seconds is critical and can lead to the exclusion of the node. The time drift needs to be monitored.
  • always on: blockchain nodes uptime is critical, not for a single node but if many nodes fail (consensus can be in danger)
  • disk space: the blockchain nodes should not run out of space as they store and sync the blockchain data
  • memory utilization: the blockchain nodes should not run out of memory and start swapping
  • network latency: as the blockchain nodes are in constant sync with each other, its extremely important that all nodes have a stable and fast internet connection.
  • Port reachability from the internet: the Ethereum clients run a listener (default: TCP 30303) and a discovery (default UDP 30303) port. The port can differ between setups but the availability from the outside needs to be checked

The Container Monitoring

ZTC delivers the Parity Ethereum node package as a docker-compose setup that runs 4 container:

  1. Parity Ethereum blockchain node
  2. Telegraf metric collector
  3. Filebeat log collector
  4. Parity Ethereum Healthcheck app
  • watch the parity container image version
  • watch the amount of containers running next to the Parity setup
  • monitor file changes of the Parity blockchain configuration
  • monitor file changes of the keypairs (node identity)
  • check for specific log entries like benign behavior, that points to sync issues of the nodes
  • check the last block number mined/synced, to notice node sync issues
  • check the number of peers, to notice node sync issues (i. e. time drift, downtimes or hard forks
  • Current block number
  • Sync progress
  • Transactions/sec
  • Latest block mined by what node
  • Gas price (0 in the ZTC case, as no cryptocurrency is used)
  • Parity nodes (peers seen by replica node)
  • Transactions in mempool
  • Mempool size
  • Latest Block transactions
  • Pending Block transactions
  • Latest Block number across all nodes

Summary

No matter what blockchain technology you chose to run private or consortium blockchains, it its very important to monitor blockchain configuration, performance and potential traps or errors. Performance Analyzer is the perfect solution to monitor blockchains of any kind. Parity Ethereum, Sawtooth and others can be integrated including the nodes operating system or container management that have been chosen.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Dennis Zimmer

Dennis Zimmer

198 Followers

Fullstack Monitoring, Analytics, Security: VMware, Docker, Kubernetes, Applications