Skip to content

Commit 87e0a3e

Browse files
stalleyjmattcolegate
authored andcommitted
Update to release 3.1.0
1 parent 9512ecf commit 87e0a3e

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -279,27 +279,27 @@ Emitted when a profiling sample is available from the underlying V8 runtime.
279279

280280
## API: Dependency Events (probes)
281281

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:
285285
* `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.
287287
* `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:
296296
* `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.
298298
* `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.
300300
* `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.
303303

304304
### Event: 'leveldown'
305305
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
494494
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).
495495

496496
## Version
497-
3.0.3
497+
3.1.0
498498

499499
## Release History
500-
`3.0.3` - Bug fixes.
500+
`3.1.0` - HTTPS probe added.
501501
`3.0.2` - Probe defect for Node 8 support.
502502
`3.0.1` - Packaging bug fix to allow build from source if binary not present.
503503
`3.0.0` - Remove express probe. Additional data available in http and request events. Code improvements.

extract_all_binaries.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var AGENTCORE_PLATFORMS = [
4141
'win32-x64',
4242
];
4343
var AGENTCORE_VERSION = '3.2.1';
44-
var APPMETRICS_VERSION = '3.0.3';
44+
var APPMETRICS_VERSION = '3.1.0';
4545

4646
var LOG_FILE = path.join(INSTALL_DIR, 'install.log');
4747
var logFileStream = fs.createWriteStream(LOG_FILE, { flags: 'a' });

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "appmetrics",
3-
"version": "3.0.3",
3+
"version": "3.1.0",
44
"engines": {
55
"node": ">=4"
66
},

0 commit comments

Comments
 (0)