Proposal: Decentralized sharing of validator health metrics

Ok, I’ve finished wrapping the node into a Docker container and documented the env variables accepted by the node. There are also step-by-step instructions for installing and running the image using the docker command line tool for those who aren’t already using Kubernetes or some other container orchestration tool.

Just a security note: Obviously, it’s very wise not to trust some random piece of software written by a guy on the internet! :sweat_smile: Here’s why there’s no risk to your Bor and Heimdall nodes if you try running the Metrics node:

  • Run the Metrics node on a different machine and only open up access to the (read-only) metrics API of your Heimdall and Bor instances - this way the Metrics node has no way of accessing anything on those machines or disrupting them in any way.
  • The Metrics node runs inside a Docker virtual environment, meaning that it’s fully sandboxed from anything else on the local machine.
  • You can also get started by only connecting your Sentry nodes to the Metrics node, and leave the actual Validator nodes for later, if you’d like.

Any early adopters here ready to join the pilot? Please ping me here or on Polygon Discord and I can help you get set up. In particular, I need to whitelist your Metrics node address on the streams.

3 Likes