opentelemetry-instrumentation-express
Advanced tools
Comparing version 0.0.0-2021-06-07--07-42 to 0.0.0-2021-06-09--06-50
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ExpressInstrumentation = void 0; | ||
const core_1 = require("@opentelemetry/core"); | ||
const api_1 = require("@opentelemetry/api"); | ||
@@ -158,3 +159,6 @@ const types_1 = require("./types"); | ||
if (route) { | ||
req.__ot_middlewares = [route]; | ||
const rpcMetadata = core_1.getRPCMetadata(api_1.context.active()); | ||
if (rpcMetadata) { | ||
rpcMetadata.route = route; | ||
} | ||
} | ||
@@ -161,0 +165,0 @@ oldResEnd.apply(res, arguments); |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.0.0-2021-06-07--07-42"; | ||
export declare const VERSION = "0.0.0-2021-06-09--06-50"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -5,3 +5,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.0.0-2021-06-07--07-42'; | ||
exports.VERSION = '0.0.0-2021-06-09--06-50'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "opentelemetry-instrumentation-express", | ||
"version": "0.0.0-2021-06-07--07-42", | ||
"version": "0.0.0-2021-06-09--06-50", | ||
"description": "enhanced open telemetry instrumentation for the `express` web framework", | ||
@@ -35,2 +35,3 @@ "author": "Aspecto.io", | ||
"@opentelemetry/api": "^0.20.0", | ||
"@opentelemetry/core": "^0.20.0", | ||
"@opentelemetry/instrumentation": "^0.20.0", | ||
@@ -49,4 +50,4 @@ "@opentelemetry/semantic-conventions": "^0.20.0" | ||
"mocha": "^8.4.0", | ||
"opentelemetry-instrumentation-mocha": "^0.0.1-rc.0", | ||
"opentelemetry-instrumentation-testing-utils": "^0.0.0-2021-06-07--07-42", | ||
"opentelemetry-instrumentation-mocha": "^0.0.1-rc.1", | ||
"opentelemetry-instrumentation-testing-utils": "^0.0.0-2021-06-09--06-50", | ||
"test-all-versions": "^5.0.1" | ||
@@ -64,3 +65,3 @@ }, | ||
}, | ||
"gitHead": "bb0e4af3e4a101755c22fdb692be07a6ddeef51d" | ||
"gitHead": "89781f894dff1488c9794fd361dea0b63f4c9be3" | ||
} |
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
52075
601
4
+ Added@opentelemetry/core@^0.20.0
+ Added@opentelemetry/core@0.20.0(transitive)