npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

tessellated-geometry-celo-network-monitor

v0.0.2

Published

Celo Network Monitor ====================

Downloads

5

Readme

Celo Network Monitor

pipeline status

Monitor the health of a Celo validator deployment with alerts like:

Example Alert

Usage

First, set the addresses you'd like to monitor in addresses.<network>.yaml and set your node and alerting envars in .env-<network>.

Then, develop this project locally with:

# Setup
yarn
# Test
yarn test
# Run locally
ENV_FILE=.env-template yarn dev

Monitors

Monitors can be enabled or disabled by commenting out desired monitors in src/monitor/monitor.ts. Default monitors include:

  • Balance - Monitor the CELO and cUSD balances of all addresses specified in the addresses yaml file
  • Electability Threshold - Monitor the threshold of votes needed to get elected
  • Governance - Monitor the network for governance activity
  • Key Rotation - When validator keys are rotated, ensure that they are fully rotated
  • Network Participation - Monitor overall network participation numbers
  • Node - Monitor Celo node & network health
  • Pending Votes - Monitor our addresses for pending votes. Remind us to activate them
  • Tobin Tax - Remind us if/when the Tobin Tax is activated. Never send transactions when it is
  • Validator - Monitor the health of our validators

Deployment

The monitor can be containerized and readied for deploy like so. The container will listen on $PORT (default: 8080) and run anytime a request hits it. It's intended for deployment in a container management system with a job set to contact it every ~60 seconds to initiate a new run of the monitor.

docker build -t monitor .
docker run monitor