newrelic 7.5.1 → 7.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NEWS.md +4 -0
- package/lib/instrumentation/mongodb.js +1 -1
- package/package.json +1 -1
package/NEWS.md
CHANGED
|
@@ -288,7 +288,7 @@ function makeQueryDescFunc(shim, methodName) {
|
|
|
288
288
|
// segment name does not actually use query string
|
|
289
289
|
// method name is set as query so the query parser has access to the op name
|
|
290
290
|
const parameters = getInstanceAttributeParameters(shim, this)
|
|
291
|
-
return {query: methodName, parameters, callback: shim.LAST}
|
|
291
|
+
return {query: methodName, parameters, promise: true, callback: shim.LAST}
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
294
|
|