Skip to content

Commit 7c19776

Browse files
committed
README logo & link
1 parent 60b2aca commit 7c19776

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,16 +134,22 @@ The `notifications` property is optional. Jump to the section below, [Notificati
134134

135135
### 4. Initialize Chronos
136136

137-
Add text here<br>
138-
Add text here<br>
139-
Add text here<br>
140-
Add text here<br>
141-
Add text here<br>
137+
Wherever you create an instance of your server (see example below),
138+
139+
```js
140+
// Example
141+
const express = require('express');
142+
const app = express());
143+
```
144+
145+
you will also need to require in `chronos-tracker` as well as the `./chronos-config` file:
142146

143147
```js
144148
const chronos = require('chronos-tracker');
145149
require('./chronos-config'); // Bring in config file
146150

151+
// ...
152+
147153
chronos.propagate();
148154
app.use('/', chronos.track());
149155
```

0 commit comments

Comments
 (0)