Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

appmetrics

Package Overview
Dependencies
Maintainers
5
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appmetrics - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

.codebeatsettings

4

extract_all_binaries.js

@@ -44,4 +44,4 @@ /*******************************************************************************

];
var AGENTCORE_VERSION = '3.2.4';
var APPMETRICS_VERSION = '3.1.1';
var AGENTCORE_VERSION = '3.2.6';
var APPMETRICS_VERSION = '3.1.2';

@@ -48,0 +48,0 @@ var LOG_FILE = path.join(INSTALL_DIR, 'install.log');

@@ -22,5 +22,7 @@ # OMR AgentCore

## Version
3.2.4
3.2.6
## Release History
`3.2.6` - Bug fixes.
`3.2.5` - Bug fixes.
`3.2.4` - Node on z/OS support.

@@ -27,0 +29,0 @@ `3.2.3` - Swift 4 support.

{
"name": "appmetrics",
"version": "3.1.1",
"version": "3.1.2",
"engines": {

@@ -5,0 +5,0 @@ "node": ">=4"

@@ -25,8 +25,13 @@ /*******************************************************************************

var util = require('util');
var semver = require('semver');
// In https 'get' calls 'request' so we only instrument 'request'
var methods = ['request'];
var methods;
// In Node.js < v8.9.0 'get' calls 'request' so we only instrument 'request'
if (semver.lt(process.version, '8.9.0')) {
methods = ['request'];
} else {
methods = ['request', 'get'];
}
// Probe to instrument outbound https requests
function HttpsOutboundProbe() {

@@ -33,0 +38,0 @@ Probe.call(this, 'https'); // match the name of the module we're instrumenting

@@ -242,3 +242,9 @@ # Node Application Metrics

* `time` (Number) the milliseconds when the sample was taken. This can be converted to a Date using `new Date(data.time)`.
* `type` (String) the type of GC cycle, either 'M' or 'S'.
* `type` (String) the type of GC cycle, either:
- `'M'`: MarkSweepCompact, aka "major"
- `'S'`: Scavenge, aka "minor"
- `'I'`: IncrementalMarking, aka "incremental" (only exists on node 5.x
and greater)
- '`W'`: ProcessWeakCallbacks, aka "weakcb" (only exists on node 5.x
and greater)
* `size` (Number) the size of the JavaScript heap in bytes.

@@ -503,5 +509,6 @@ * `used` (Number) the amount of memory used on the JavaScript heap in bytes.

## Version
3.1.1
3.1.2
## Release History
`3.1.2` - Bug fixes.
`3.1.1` - Node v6 on z/OS support.

@@ -508,0 +515,0 @@ `3.1.0` - HTTPS probe added.

@@ -117,3 +117,3 @@ /*******************************************************************************

t.ok(memData.physical_used === -1 || memData.physical_used >= 0, 'Contains a valid used physical memory');
t.ok(memData.physical_used === -1 || memData.physical_used >= 0, 'Contains a valid used physical memory', memData);
t.end();

@@ -128,3 +128,4 @@ });

t.ok(gcData.type === 'M' || gcData.type === 'S', 'Contains an expected GC type (expected "M" or "S")');
const gcTypes = {M: 1, S: 1, I: 1, W: 1};
t.ok(gcTypes[gcData.type], '"' + gcData.type + '" is an expected GC type');

@@ -131,0 +132,0 @@ t.ok(isInteger(gcData.size), 'Heap size is an integer');

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc