@opentelemetry/instrumentation-connect
Advanced tools
Comparing version 0.31.4 to 0.32.0
@@ -17,15 +17,6 @@ "use strict"; | ||
*/ | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./enums/AttributeNames"), exports); | ||
__exportStar(require("./instrumentation"), exports); | ||
const tslib_1 = require("tslib"); | ||
(0, tslib_1.__exportStar)(require("./enums/AttributeNames"), exports); | ||
(0, tslib_1.__exportStar)(require("./instrumentation"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -92,6 +92,3 @@ "use strict"; | ||
} | ||
const [reqArgIdx, resArgIdx, nextArgIdx] = isErrorMiddleware | ||
? [1, 2, 3] | ||
: [0, 1, 2]; | ||
const req = arguments[reqArgIdx]; | ||
const [resArgIdx, nextArgIdx] = isErrorMiddleware ? [2, 3] : [1, 2]; | ||
const res = arguments[resArgIdx]; | ||
@@ -101,3 +98,3 @@ const next = arguments[nextArgIdx]; | ||
if (routeName && (rpcMetadata === null || rpcMetadata === void 0 ? void 0 : rpcMetadata.type) === core_1.RPCType.HTTP) { | ||
rpcMetadata.span.updateName(`${req.method} ${routeName || '/'}`); | ||
rpcMetadata.route = routeName; | ||
} | ||
@@ -104,0 +101,0 @@ let spanName = ''; |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.31.4"; | ||
export declare const VERSION = "0.32.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.31.4'; | ||
exports.VERSION = '0.32.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/instrumentation-connect", | ||
"version": "0.31.4", | ||
"version": "0.32.0", | ||
"description": "OpenTelemetry connect automatic instrumentation package.", | ||
@@ -62,8 +62,9 @@ "main": "build/src/index.js", | ||
"@opentelemetry/core": "^1.8.0", | ||
"@opentelemetry/instrumentation": "^0.40.0", | ||
"@opentelemetry/instrumentation": "^0.41.0", | ||
"@opentelemetry/semantic-conventions": "^1.0.0", | ||
"@types/connect": "3.4.35" | ||
"@types/connect": "3.4.35", | ||
"tslib": "^2.3.1" | ||
}, | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-connect#readme", | ||
"gitHead": "efdfc727a49090accee7fea8ff93011b6b84c1e4" | ||
"gitHead": "f81f8a76a8f0af2101c62dbc73cde442f875d833" | ||
} |
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
28676
6
267
+ Addedtslib@^2.3.1
+ Added@opentelemetry/instrumentation@0.41.2(transitive)
+ Addedacorn@8.14.0(transitive)
+ Addedacorn-import-assertions@1.9.0(transitive)
+ Addedcjs-module-lexer@1.4.1(transitive)
+ Addedimport-in-the-middle@1.4.2(transitive)
+ Addedtslib@2.8.1(transitive)
- Removed@opentelemetry/instrumentation@0.40.0(transitive)
- Removedimport-in-the-middle@1.3.5(transitive)