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 🙏

© 2026 – Pkg Stats / Ryan Hefner

chronos-microservice-debugger

v1.0.3

Published

A microservice health monitor and communication logger

Readme

##Chronos Microservice Debugger Chronos Microservice Debugger consists of an npm package with an optional Electron front end to visualize information collected through use of npm package.

##Install

npm install chronos-microservice-debugger

##Usage There are two main aspects to Chronos-Microservice-Debugger

  1. Communication Monitor: Listens in on all microservice-microservice and microservice-client communication and monitors the response statuses and messages to ensure communications are making it to the correct destination successfully.
  2. Health Monitor: The health monitor checks the status of your microservice every second and sends this health information to an optional electron frontend where it is visualized for easier use.

To use the npm package, there are three required parameters and an optional fourth parameter. You can enter the items as individual strings or as an array containing the three required parameters and one optional parameter.

The parameters are:

  1. microserviceName: What do you want to name the current microservice
  2. databaseType: We currently support PostgreSQL and Mongo. Enter "mongo" or "sql"
  3. databaseURL: Where would you like to store your information? Enter the URL to your database
  4. queryFrequency: How often do you want microHealth to monitor the health of your database? It defaults to every second, but you can choose:
  • "s" : The default, monitors every second
  • "m" : Monitors every minute
  • "h" : Monitors every hour
  • "d" : Monitors once per day
  • "w" : Monitors once per week

String parameter example:

// How to use chronos-microservice-debugger
app.use('/', chronos-microservice-debgugger.microCom('microserviceName', 'databaseType', 'databaseURL'))

chronos-microservice-debugger.microHealth('microserviceName', 'databaseType', 'databaseURL', 'queryFrequency'))

// Example using string parameters
app.use('/', chronos-microservice-debugger.microCom('books', 'sql', 'thisIsMyURL'))
// Note: microCom does not utilize queryFreq because it logs all communication when an endpoint is hit

chronos-microservice-debugger.microHealth('books', 'sql', 'thisIsMyURL', 'h')

Array parameter example:

let values = [
  'microserviceName',
  'databaseType',
  'databaseURL',
  'queryFrequency'
]
// How to use chronos-micrservice-debugger with an array parameter
app.use('/', chronos-microservice-debgugger.microCom(values)

chronos-microservice-debugger.microHealth(values)

// Example using an array parameter
let values = [
  'books',
  'mongo',
  'thisIsMyNewURL',
  'w'
]

app.use('/', chronos-microservice-debgugger.microCom(values)
// Note: microCom does not utilize queryFreq because it logs all communication when an endpoint is hit

chronos-microservice-debugger.microHealth(values)

Chronos uses a user-owned and provided database to ensure that your private data stays private. We currently support MongoDB and SQL/PostgreSQL databases.

##Things in the Works

  1. gRPC support
  2. 'Time Travel' to see how your microservices have changed over time
  3. Docker health information for containerized microservices
  4. Implement additional unit testing
  5. Published Electron application with cross-browser compatibility
  6. Microservice Architecture Visualizer

##Links

  1. Chronos Website (Coming Soon): http://chronos.ninja
  2. Gitub Page: https://github.com/oslabs-beta/Chronos

##Contact Us For questions, requests, or more information, please contact us at [email protected]