appmetrics
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -41,4 +41,4 @@ /******************************************************************************* | ||
'win32-x64']; | ||
var AGENTCORE_VERSION = "3.0.9"; | ||
var APPMETRICS_VERSION = "1.1.1"; | ||
var AGENTCORE_VERSION = "3.0.10"; | ||
var APPMETRICS_VERSION = "1.1.2"; | ||
@@ -113,2 +113,5 @@ var LOG_FILE = path.join(INSTALL_DIR, 'install.log'); | ||
} | ||
if (process.version.indexOf('v7') === 0) { | ||
return '7'; | ||
} | ||
console.log('Unsupported version ' + process.version + '. Exiting.'); | ||
@@ -115,0 +118,0 @@ process.exit(1); |
@@ -40,3 +40,3 @@ { | ||
"_shasum": "30057438eac6cf7f8c4767f38648d6697d75c903", | ||
"_from": "mkdirp@>=0.5.0 <0.6.0", | ||
"_from": "mkdirp@>=0.5.0 >=0.0.0 <1.0.0", | ||
"_npmVersion": "2.9.0", | ||
@@ -43,0 +43,0 @@ "_nodeVersion": "2.0.0", |
{ | ||
"name": "appmetrics", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Node Application Metrics", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -45,3 +45,3 @@ /******************************************************************************* | ||
ret = target; | ||
if(Object.keys(target.prototype).length==0 && Object.keys(target).length == 0){ | ||
if(target && target.prototype && Object.keys(target.prototype).length==0 && Object.keys(target).length==0){ | ||
ret = function () { | ||
@@ -240,2 +240,2 @@ var rc = target.apply(this, arguments); | ||
module.exports = TraceProbe; | ||
module.exports = TraceProbe; |
@@ -197,9 +197,10 @@ # Node Application Metrics | ||
Source | Configuration | Effect | ||
:-----------|:-------------------------|:----------------------------- | ||
`http` | `filters` | (Array) of URL filter Objects consisting of: | ||
| | `pattern` (String) a regular expression pattern to match HTTP method and URL against, eg. 'GET /favicon.ico$' | ||
| | `to` (String) a conversion for the URL to allow grouping. A value of `''` causes the URL to be ignored. | ||
`requests` | `excludeModules` | (Array) of String names of modules to exclude from request tracking. | ||
`trace` | `includeModules` | (Array) of String names for modules to include in function tracing. By default only non-module functions are traced when trace is enabled. | ||
Source | Configuration | Effect | ||
:--------------------|:-------------------------|:----------------------------- | ||
`http` | `filters` | (Array) of URL filter Objects consisting of: | ||
| | `pattern` (String) a regular expression pattern to match HTTP method and URL against, eg. 'GET /favicon.ico$' | ||
| | `to` (String) a conversion for the URL to allow grouping. A value of `''` causes the URL to be ignored. | ||
`requests` | `excludeModules` | (Array) of String names of modules to exclude from request tracking. | ||
`trace` | `includeModules` | (Array) of String names for modules to include in function tracing. By default only non-module functions are traced when trace is enabled. | ||
`advancedProfiling` | `threshold` | (Number) millisecond run time of an event loop cycle that will trigger profiling | ||
@@ -215,3 +216,3 @@ ### appmetrics.emit(`type`, `data`) | ||
### appmetrics.monitor.getEnvironment() | ||
Requests an object containing all of the available environment information for the running application. | ||
Requests an object containing all of the available environment information for the running application. This will not contain all possible environment information until an 'initialized' event has been received. | ||
@@ -236,2 +237,5 @@ ### Event: 'cpu' | ||
### Event: 'initialized' | ||
Emitted when all possible environment variables have been collected. Use `appmetrics.monitor.getEnvironment()` to access the available environment variables. | ||
### Event: 'gc' | ||
@@ -464,5 +468,6 @@ Emitted when a garbage collection (GC) cycle occurs in the underlying V8 runtime. | ||
## Version | ||
1.1.1 | ||
1.1.2 | ||
## Release History | ||
`1.1.2` - Update agent core to 3.0.10, support Node.js v7. | ||
`1.1.1` - Fix node-gyp rebuild failure and don't force MQTT broker to on | ||
@@ -469,0 +474,0 @@ `1.1.0` - Bug fixes, improved MongoDB data, updated dependencies, CPU watchdog feature |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
9010876
286
16530
492
84