@google-cloud/trace-agent
Advanced tools
Comparing version 3.4.0 to 3.5.0
@@ -47,3 +47,3 @@ "use strict"; | ||
rootSpan.addLabel(labels.HTTP_URL_LABEL_KEY, url); | ||
rootSpan.addLabel(labels.HTTP_SOURCE_IP, req.connection.remoteAddress); | ||
rootSpan.addLabel(labels.HTTP_SOURCE_IP, req.ip); | ||
// wrap end | ||
@@ -50,0 +50,0 @@ const originalEnd = res.end; |
@@ -53,4 +53,4 @@ /** | ||
{ | ||
// knex 0.10.x and 0.11.x do not need patching | ||
versions: '>=0.10 <=0.11' | ||
// these knex versions do not need patching | ||
versions: '>=0.10 <=0.11 || >=0.14 <=0.16' | ||
} | ||
@@ -57,0 +57,0 @@ ]; |
@@ -55,3 +55,3 @@ "use strict"; | ||
root.addLabel(api.labels.HTTP_URL_LABEL_KEY, url); | ||
root.addLabel(api.labels.HTTP_SOURCE_IP, req.connection.remoteAddress); | ||
root.addLabel(api.labels.HTTP_SOURCE_IP, ctx.request.ip); | ||
// wrap end | ||
@@ -58,0 +58,0 @@ res.end = function () { |
{ | ||
"name": "@google-cloud/trace-agent", | ||
"version": "3.4.0", | ||
"version": "3.5.0", | ||
"description": "Node.js Support for StackDriver Trace", | ||
@@ -57,2 +57,3 @@ "main": "build/src/index.js", | ||
"@types/is": "0.0.21", | ||
"@types/knex": "^0.15.1", | ||
"@types/methods": "^1.1.0", | ||
@@ -98,3 +99,3 @@ "@types/mocha": "^5.2.5", | ||
"dependencies": { | ||
"@google-cloud/common": "^0.27.0", | ||
"@google-cloud/common": "^0.28.0", | ||
"builtin-modules": "^3.0.0", | ||
@@ -101,0 +102,0 @@ "console-log-level": "^1.4.0", |
Sorry, the diff of this file is not supported yet
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
302739
45
+ Added@google-cloud/common@0.28.0(transitive)
- Removed@google-cloud/common@0.27.0(transitive)
Updated@google-cloud/common@^0.28.0