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: README.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -279,27 +279,27 @@ Emitted when a profiling sample is available from the underlying V8 runtime.
279
279
280
280
## API: Dependency Events (probes)
281
281
282
-
### Event: 'http'
283
-
Emitted when a HTTP request is made of the application.
284
-
*`data` (Object) the data from the HTTP request:
282
+
### Event: 'http'/'https'
283
+
Emitted when a HTTP/HTTPS request is made of the application.
284
+
*`data` (Object) the data from the HTTP(S) request:
285
285
*`time` (Number) the milliseconds when the request was made. This can be converted to a Date using `new Date(data.time)`.
286
-
*`method` (String) the HTTP method used for the request.
286
+
*`method` (String) the HTTP(S) method used for the request.
287
287
*`url` (String) the URL on which the request was made.
288
-
*`duration` (Number) the time taken for the HTTP request to be responded to in ms.
289
-
*`header` (String) the response header for the HTTP request.
290
-
*`contentType` (String) the content type of the HTTP request.
291
-
*`requestHeader` (Object) the request header for HTTP request.
292
-
293
-
### Event: 'http-outbound'
294
-
Emitted when the application makes an outbound HTTP request.
295
-
*`data` (Object) the data from the HTTP request:
288
+
*`duration` (Number) the time taken for the HTTP(S) request to be responded to in ms.
289
+
*`header` (String) the response header for the HTTP(S) request.
290
+
*`contentType` (String) the content type of the HTTP(S) request.
291
+
*`requestHeader` (Object) the request header for HTTP(S) request.
292
+
293
+
### Event: 'http-outbound'/'https-outbound'
294
+
Emitted when the application makes an outbound HTTP/HTTPS request.
295
+
*`data` (Object) the data from the HTTP(S) request:
296
296
*`time` (Number) the milliseconds when the request was made. This can be converted to a Date using `new Date(data.time)`.
297
-
*`method` (String) the HTTP method used for the request.
297
+
*`method` (String) the HTTP(S) method used for the request.
298
298
*`url` (String) the URL on which the request was made.
299
-
*`contentType` (String) the HTTP response content-type.
299
+
*`contentType` (String) the HTTP(S) response content-type.
300
300
*`statusCode` (String) the HTTP response status code.
301
-
*`duration` (Number) the time taken for the HTTP request to be responded to in ms.
302
-
* 'requestHeaders' (Object) the HTTP request headers.
301
+
*`duration` (Number) the time taken for the HTTP(S) request to be responded to in ms.
302
+
* 'requestHeaders' (Object) the HTTP(S) request headers.
303
303
304
304
### Event: 'leveldown'
305
305
Emitted when a LevelDB query is made using the `leveldown` module.
@@ -494,10 +494,10 @@ The npm package for this project uses a semver-parsable X.0.Z version number for
494
494
Non-release versions of this project (for example on github.com/RuntimeTools/appmetrics) will use semver-parsable X.0.Z-dev.B version numbers, where X.0.Z is the last release with Z incremented and B is an integer. For further information on the development process go to the [appmetrics wiki][3]: [Developing](https://github.com/RuntimeTools/appmetrics/wiki/Developing).
495
495
496
496
## Version
497
-
3.0.3
497
+
3.1.0
498
498
499
499
## Release History
500
-
`3.0.3` - Bug fixes.
500
+
`3.1.0` - HTTPS probe added.
501
501
`3.0.2` - Probe defect for Node 8 support.
502
502
`3.0.1` - Packaging bug fix to allow build from source if binary not present.
503
503
`3.0.0` - Remove express probe. Additional data available in http and request events. Code improvements.
0 commit comments