concurix-instrument
Advanced tools
Comparing version 1.0.6 to 1.1.0
@@ -23,7 +23,7 @@ "use strict"; | ||
"wrap_timers": true, | ||
"wrap_process": true, | ||
"wrap_dns": true, | ||
"wrap_fs": true, | ||
"wrap_http": true, | ||
"wrap_https": true, | ||
"wrap_http": true, // also wraps https | ||
"wrap_zlib": true, | ||
@@ -108,9 +108,8 @@ // TBD | ||
} | ||
if (config.wrap_process) { | ||
core.wrapProcess(tracer) | ||
} | ||
if (config.wrap_http) { | ||
core.wrapHttp(tracer, "http") | ||
} | ||
if (config.wrap_https) { | ||
core.wrapHttp(tracer, "https") | ||
} | ||
if (config.wrap_http || config.wrap_https) { | ||
core.wrapHttpOutgoingMessage(tracer) | ||
@@ -117,0 +116,0 @@ } |
{ | ||
"name": "concurix-instrument", | ||
"version": "1.0.6", | ||
"version": "1.1.0", | ||
"description": "Apply Concurix tracing instrumentation to client code.", | ||
@@ -27,11 +27,12 @@ "main": "instrument.js", | ||
"devDependencies": { | ||
"tape": "^2.13.3" | ||
"tape": "^2.14.0" | ||
}, | ||
"dependencies": { | ||
"estraverse": "^1.5.0", | ||
"concurix-tracer": "~1.0.1", | ||
"estraverse": "^1.5.1", | ||
"glob-to-regexp": "0.0.1", | ||
"xtend": "^3.0.0", | ||
"scopetracer": "~1.0.0", | ||
"require-transform": "~1.0.0", | ||
"concurix-tracer": "~1.0.0" | ||
"scopetracer": "~1.0.1", | ||
"transaction-tracer": "^1.1.0", | ||
"xtend": "^4.0.0" | ||
}, | ||
@@ -38,0 +39,0 @@ "directories": { |
@@ -11,7 +11,2 @@ "use strict"; | ||
// client | ||
// TODO don't track? Or maybe do track? sending data to concurix? | ||
// instead bind to http.ClientRequest.addListener 'response' ? | ||
// TODO "data" listeners | ||
var reqFnId = tracer.addFunction(httpx, "request") | ||
@@ -114,2 +109,3 @@ var request = http_module.request | ||
var http = require("http") | ||
tracer.addCoreFile("http") | ||
var proxyEnd = http.OutgoingMessage.prototype.end | ||
@@ -116,0 +112,0 @@ var endId = tracer.addFunction("http", "OutgoingMessage.prototype.end") |
@@ -7,1 +7,2 @@ module.exports.wrapTimers = require("./timers") | ||
module.exports.wrapZlib = require("./zlib") | ||
module.exports.wrapProcess = require("./process") |
@@ -14,6 +14,2 @@ "use strict"; | ||
// This won't work if there is a console.log the wrapper meta-code | ||
// You'll get stack size exceptions | ||
process.nextTick = tracer.wrapCoreLinker("process", "nextTick", process.nextTick, "process.nextTick") | ||
var intervals = {} | ||
@@ -20,0 +16,0 @@ |
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
28389
16
684
7
+ Addedtransaction-tracer@^1.1.0
+ Addedeenano@1.0.0(transitive)
+ Addedseqid@1.0.1(transitive)
+ Addedtransaction-tracer@1.1.0(transitive)
+ Addedxtend@4.0.2(transitive)
Updatedconcurix-tracer@~1.0.1
Updatedestraverse@^1.5.1
Updatedscopetracer@~1.0.1
Updatedxtend@^4.0.0