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
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+14-9
Original file line number
Diff line number
Diff line change
@@ -14,19 +14,24 @@ Chronos welcomes all pull requests.
14
14
6. Create a pull request to `master`.
15
15
16
16
## Getting started
17
-
-`npm run bot`: Run Node and Electron at the same time to start Chronos app
18
-
- To make changes to codebase on the Main Process
17
+
-`npm run dev:app` and `npm run dev:electron`: Run Node and Electron at the same time to start Chronos app
18
+
- To make changes to codebase on the Main Process:
19
19
- Files in the main process must be compiled prior to starting the app
20
-
- In the terminal un Chronos directory, input `tsc` to comile typescript files
21
-
- Once compiled, `npm run both`
22
-
* Note** If typescript is not installed, `npm install -g typescript`
20
+
- In the terminal in Chronos directory, input `tsc` to compile typescript files
21
+
- Once compiled, `npm run dev:app` and `npm run dev:electron`
22
+
* Note: If typescript is not installed, `npm install -g typescript`
23
23
24
+
## Chronos Website
25
+
26
+
The `chronosWebsite` branch holds the code for the website. Edit the website by checking out the branch, modifying the website, and then updating the AWS S3 bucket with the changes.
24
27
## Issues
25
28
26
-
Please do not hesitate to file issues. Chronos is based off of community feedback and is always looking for ways to get better. The team behind Chronos is interested to hear about your experience and how we can improve it.
29
+
Please do not hesitate to file issues that detail bugs or offer ways to enhace Chronos.
30
+
31
+
Chronos is based off of community feedback and is always looking for ways to get better. The team behind Chronos is interested to hear about your experience and how we can improve it.
27
32
28
-
Please do not hesitate to submit issues that promote bugs or offer ways to enhance to Chronos. When submitting issues, ensure your description is clear and has instructions to be able to reproduce the issue.
33
+
When submitting issues, ensure your description is clear and has instructions to be able to reproduce the issue.
29
34
30
-
## Get in touch
35
+
## Get In Touch
31
36
32
-
We use GitHub as a platform of communication between users and developers to promote transparency. We thrive off of the community support and feedback
37
+
We use GitHub as a platform of communication between users and developers to promote transparency, community support and feedback.
Copy file name to clipboardExpand all lines: chronos_npm_package/README.md
+15-35
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,7 @@
1
-
# Chronos
2
-
Visit our splash page at [chronoslany.com](https://chronoslany.com/)
3
-
4
-
Chronos is a comprehensive developer tool that monitors the health and web traffic of servers, microservices, and containers. Use Chronos to see real-time data monitoring and receive automated notifications over Slack or email.
5
-
6
-
#
7
-
8
1
## What's New?
9
2
- Bug Fixes
10
-
- Metric query tool so you can filter out specific metrics — now you only have to see what you want on the dashboard.
11
-
- Additional metrics added, bringing Chronos up from only 12 to 100+ metrics that are currently available
12
-
- Option to filter by category and individual metric, and flip between services and categories with ease
13
-
- Kubernetes monitoring via Prometheus server
14
-
- Apache Kafka monitoring capability, all you need to do is run Prometheus JMX exporter on the system your Chronos application is running on. A sample JMX config.yaml file is provided in the Chronos repository for a quick and easy setup, however you are free to configure however you like.
15
-
3
+
- Refactored code for additional modularity and customization
4
+
- Ability for developers to increase number of metrics monitored for microservices
16
5
#
17
6
18
7
## Features
@@ -35,7 +24,6 @@ Install the package as a dependency in each of the microservices you want to tra
35
24
npm install @chronosmicro/tracker
36
25
```
37
26
38
-
<br>
39
27
40
28
### Configuring Chronos Tracker
41
29
Create a `.js` Chronos configuration file (hereby referred to as `chronos-config.js`), which exports a JavaScript object with required Chronos configuration parameters. This object will be used as the sole Chronos class constructor argument. Feel free to use a `.env` file to hold sensitive parameters like the database URI, for example.
@@ -75,21 +63,20 @@ module.exports = {
75
63
}
76
64
```
77
65
78
-
Then utilize the `chronos-config.js` file into your microservice application by importing it and using it as the Chronos class constructor argument:
66
+
Then utilize the `chronos-config.js` file into your application by importing it and using it as the Chronos class constructor argument:
_See mode-specific configuration descriptions in the "Chronos Tracker for Microservices" section_
89
76
90
77
The `microservice` property takes in a string. This should be a descriptive name for your microservice.
91
78
92
-
- <imgsrc="assets/important.png"alt="Important"title="Important"align="center"height="20" /> For **Dockerized** microservices, this field **must** match the _container_name_ of the corresponding Docker container.
79
+
- <imgsrc="../assets/important.png"alt="Important"title="Important"align="center"height="20" /> For **Dockerized** microservices, this field **must** match the _container_name_ of the corresponding Docker container.
93
80
94
81
The `interval` property is optional and takes in an integer. This controls the Chronos monitoring frequency. If this is omitted, Chronos will default to recording server health every 60000 ms or 60 seconds.
95
82
@@ -144,14 +131,13 @@ Chronos provides the option to send emails. The properties that should be provi
144
131
-`user` - The email address (string) of the sender
145
132
-`password` - The password (string) of the sender email
146
133
147
-
_NOTE: Email notification settings may require alternative security settings to work_
148
134
149
-
<br>
135
+
**NOTE: Email notification settings may require alternative security settings to work**
150
136
151
137
### Chronos Tracker for "Microservices" Mode
152
138
The mode `microservices` uses the additional setting `dockerized`, which indicates whether or not the microservice has been containerized with Docker. If omitted, Chronos will assume this server is not running in a container, i.e. `dockerized` will default to _false_.
153
139
154
-
Setting the flag to _false_ will collect metrics from the host computer directly, while _true_ indicates for Chronos to pull metrics from the Docker daemon.
140
+
Setting the flag to `false` will collect metrics from the host computer directly, while `true` indicates for Chronos to pull metrics from the Docker daemon.
155
141
156
142
```js
157
143
// Excerpt from a chronos-config.js
@@ -175,7 +161,9 @@ const chronos = new Chronos(chronosConfig);
175
161
chronos.track()
176
162
```
177
163
178
-
If you are using an Express.js REST API, calling `Chronos.track()` returns middleware that allows users to track incoming network requests and outgoing their corresponding outgoing responses by marking them with unique IDs using `Chronos.propagate`. If you want to utilize this feature, setup a catchall route that will serve as a pass through for tracking and chain in the middleware from `Chronos.track`.
164
+
If you are using an Express.js REST API, calling `Chronos.track()` returns middleware that allows users to track incoming network requests and outgoing their corresponding outgoing responses by marking them with unique IDs using `Chronos.propagate`.
165
+
166
+
If you want to utilize this feature, setup a catchall route that will serve as a pass through for tracking and chain in the middleware from `Chronos.track`.
@@ -279,7 +265,7 @@ When viewing your information in the Chronos Electron application the data will
279
265
280
266
### Chronos Tracker for gRPC
281
267
282
-
To monitory your gRPC server, setup `chronos-config.js` as if it was a standard microservices example, but be sure to set the `connection` type to `gRPC`.
268
+
To monitor your gRPC server, setup `chronos-config.js` as if it was a standard microservices example, but be sure to set the `connection` type to `gRPC`.
Once you have configured and intialized Chronos Tracker, it will automatically record monitoring data when your servers are running. The data will be saved into your database of choice, and then start the Chronos desktop app to view by cloning our [GitHub repo](https://github.com/open-source-labs/Chronos). Folow the ReadMe in that repo to setup the Chronos desktop app.
402
388
403
-
<br>
404
389
405
390
## Examples
406
391
407
-
We provide working example microservice applications in Chronos desktop app repo in the *examples* folder.
We provide working example microservice applications in Chronos desktop app repo in the [**examples**](../chronos_npm_package/README.md) folder.
411
393
412
394
## Technologies
413
395
- Electron
@@ -424,18 +406,16 @@ We provide working example microservice applications in Chronos desktop app repo
424
406
- Docker
425
407
- Kubernetes
426
408
427
-
#
428
409
429
410
## Contributing
430
411
431
-
Development of Chronos is open source on GitHub through the tech accelerator umbrella OS Labs, and we are grateful to the community for contributing bug fixes and improvements. Read below to learn how you can take part in improving Chronos.
412
+
Chronos hopes to inspire an active community of both users and developers. For questions, comments, or contributions, please submit a pull request.
Copy file name to clipboardExpand all lines: examples/AWS/AWS-EKS/README.md
-10
Original file line number
Diff line number
Diff line change
@@ -160,13 +160,3 @@ This process can also be done using the AWS Command Line Interface (CLI) or the
160
160
161
161
## Credit
162
162
Credit for Knote application goes to the user learnK8s on [Github](https://github.com/learnk8s). Here is the source project [folder](https://github.com/learnk8s/knote-js/tree/master/04-05/kube).
0 commit comments