Skip to content

Commit 3c22991

Browse files
committed
fix instrumenter signature
1 parent fe60da9 commit 3c22991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/instrumentation/superagent.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
const http = require('http')
99
const METHODS = http.METHODS.map((method) => method.toLowerCase())
1010

11-
module.exports = function instrument(shim, superagent) {
11+
module.exports = function instrument(agent, superagent, moduleName, shim) {
1212
shim.wrapExport(superagent, function wrapRequest(shim, request) {
1313
if (!shim.isFunction(request)) {
1414
shim.logger.debug('Not wrapping export, expected a function.')

0 commit comments

Comments
 (0)