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
you will also need to require in `chronos-tracker` as well as the `./chronos-config` file:
146
+
you will also need to require in `chronos-tracker`and initialize Chronos, as well as the `./chronos-config` file. You will then need to invoke `chronos.propagate()` to initiate the route tracing, in addition to implementing `chronos.track()` for all endpoints.
146
147
147
148
```js
148
149
constchronos=require('chronos-tracker');
@@ -154,6 +155,9 @@ chronos.propagate();
154
155
app.use('/', chronos.track());
155
156
```
156
157
158
+
You should be good to go!
159
+
160
+
157
161
#
158
162
###### Return to [Top](#Chronos)
159
163
<br>
@@ -220,20 +224,18 @@ notifications: [
220
224
221
225
### Master
222
226
223
-
The **'master'** branch of this repository is where the <imgsrc="./app/assets/electron-logo-color.png"alt="Electron"title="Electron"align="center"height="20" /> application for Chronos is deployed. The Chronos monitoring tool's _default configuration_includes two databases: one PostgresQL and one MongoDB, that are both connected and configured for you in the dashboard so you can easily view the metrics and graphs available to you.
227
+
The **'master'** branch of this repository is where the <imgsrc="./app/assets/electron-logo-color.png"alt="Electron"title="Electron"align="center"height="20" /> application for Chronos is deployed. The Chronos monitoring toolincludes two database examples, one PostgresQL and one MongoDB, with sample data sets.
224
228
225
-
**NOTE:** To _replace_ or _override_ these two default databases that we provide, change the database URIs stored in the following path:
229
+
**NOTE:** To _replace_ or _delete_ these two databases, simply change the database URIs stored in the following path:
226
230
```
227
231
root directory -> electron -> user -> settings.json
228
232
```
229
233
230
-
###Middleware
234
+
#### Examples
231
235
232
-
The **'middleware'** branch is what is ultimately deployed to the <imgsrc="./app/assets/npm-logo-color.png"alt="NPM"title="NPM"align="center"height="20" /> package, which is what you will install and configure in your own application in order to use Chronos.
233
-
<br>
234
-
<br>
236
+
We provide two working example microservice applications in the `master` branch for you to test out Chronos.
235
237
236
-
### Microservices
238
+
####Microservices
237
239
238
240
The **'dummy-microservice'** branch is where we provide a test suite of sample microservices application that successfully utilizes Chronos to apply all the powerful, built-in features of our monitoring tool. You can then visualize the data with the <imgsrc="./app/assets/electron-logo-color.png"alt="Electron"title="Electron"align="center"height="20" /> app.
239
241
@@ -243,7 +245,7 @@ Refer to the [README](https://github.com/oslabs-beta/Chronos/tree/docker/microse
243
245
<br>
244
246
<br>
245
247
246
-
### Docker
248
+
####Docker
247
249
248
250
The '<imgsrc="./app/assets/docker-logo-color.png"alt="Docker"title="Docker"align="center"height="20" /> **/microservice'** branch is where we provide a sample _dockerized_ microservices application to test out Chronos and to apply distributed tracing across different containers for your testing convenience..
249
251
@@ -267,15 +269,11 @@ volumes:
267
269
```
268
270
<br>
269
271
270
-
### ChronosWebsite
272
+
### Middleware
271
273
272
-
The **'chronosWebsite'** branch is where the source code for the website, chronoslany.com, exists. The website currently has a working download link for Chronos as a desktop application for **MacOS**, and the Windows and Linux download links will redirect you to the <imgsrc="./app/assets/apple-icon-black.png"alt="Apple"title="Apple"align="center"height="15" /> Apple Store to buy a Macbook Pro <imgsrc="./app/assets/macbook-logo-color.png"alt="MacBook"title="MacBook"align="center"height="15" />.
274
+
The **'middleware'** branch is the current codebase for the <imgsrc="./app/assets/npm-logo-color.png"alt="NPM"title="NPM"align="center"height="20" /> package, which is what you will install in your own application in order to use Chronos.
273
275
<br>
274
-
<br>
275
-
276
-
### Others
277
276
278
-
Please feel free to ignore the other branches in the repository ('Demo', 'Dev')
0 commit comments