You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a [Node.js](https://nodejs.org/en/) module available through the
18
-
[npm registry](https://www.npmjs.com/).
22
+
## Installation
19
23
20
-
Before installing, [download and install Node.js](https://nodejs.org/en/download/).
21
-
Node.js 0.10 or higher is required.
24
+
Chronos consists of a [Node](https://nodejs.org/en/) module available through the
25
+
[npm registry](https://www.npmjs.com/) and a lightweight [Electron](https://electronjs.org/) desktop application.
22
26
23
-
Installation is done using the
27
+
To begin, install the [Chronos](https://www.npmjs.com/package/chronos-microservice-debugger3) Node module within each microservice of your application using the
The cmd.microCom handler function logs communication and health data to a user-provided database. This is to ensure that your private data stays private. We currently support MongoDB and SQL/PostgreSQL databases.
46
+
47
+
cmd.microCom has four parameters and an optional fifth parameter. You can enter the arguments as individual strings or as an array.
48
+
49
+
The parameters are:
50
+
1. microserviceName: To identify the microservice (i.e. "payments")
51
+
2. databaseType: Enter either "mongo" or "sql"
52
+
3. databaseURL: Enter the URL of your database
53
+
4. wantMicroHealth: Do you want to monitor the health of this microservice? Enter "yes" or "no"
54
+
5. queryFrequency (optional): How frequently do you want the log the health of this microservice? It defaults to every minute, but you can choose:
1. Go to https://www.npmjs.com/package/chronos-microservice-debugger and follow the instructions to install the NPM package within each microservice of your application
56
-
2. Download this repo
57
-
3. Inside the downloaded directory, run `npm install` followed by `npm start`
0 commit comments