Comparing version 1.6.2-next to 1.6.3-next
@@ -12,2 +12,3 @@ | ||
var Dependencies = require('./dependencies.js'); | ||
var DeepMetrics = require('./probes/deep_metrics') | ||
@@ -33,2 +34,3 @@ var Configuration = require('./configuration.js'); | ||
util._extend(PMX, Transaction); | ||
util._extend(PMX, DeepMetrics) | ||
@@ -101,8 +103,13 @@ // Grab defaut configuration | ||
if (opts.custom_probes == true) { | ||
if (opts.custom_probes === true) { | ||
// Event loop monitoring | ||
require('./probes/pacemaker.js')(PMX); | ||
require('./probes/handles_requests.js')(PMX); | ||
require('./probes/loop_delay.js')(PMX) | ||
require('./probes/handles_requests.js')(PMX) | ||
} | ||
if (opts.deep_metrics === true) { | ||
// deep metrics | ||
DeepMetrics.enable(PMX) | ||
} | ||
if (opts.default_actions == true) { | ||
@@ -109,0 +116,0 @@ //require('./actions/default.js')(PMX); |
{ | ||
"name": "pmx", | ||
"version": "1.6.2-next", | ||
"version": "1.6.3-next", | ||
"description": "PM2/Keymetrics advanced API", | ||
@@ -8,2 +8,3 @@ "main": "index.js", | ||
"debug": "^3", | ||
"deep-metrics": "^0.0.1", | ||
"json-stringify-safe": "^5.0", | ||
@@ -14,10 +15,10 @@ "vxx": "^1.2.0" | ||
"express": "*", | ||
"request": "~2.81", | ||
"should": "*", | ||
"mocha": "^3", | ||
"mongoose": "4.*", | ||
"nssocket": "*", | ||
"pm2": "*", | ||
"pm2-axon": "*", | ||
"nssocket": "*", | ||
"mongoose": "4.*", | ||
"semver": "*" | ||
"request": "~2.81", | ||
"semver": "*", | ||
"should": "*" | ||
}, | ||
@@ -24,0 +25,0 @@ "scripts": { |
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
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
153395
51
2562
19
4
+ Addeddeep-metrics@^0.0.1
+ Addeddeep-metrics@0.0.1(transitive)