@opentelemetry/instrumentation-express
Advanced tools
Comparing version 0.28.0 to 0.29.0
@@ -72,5 +72,6 @@ "use strict"; | ||
api_1.diag.debug(`Removing patch for express@${moduleVersion}`); | ||
this._unwrap(moduleExports.Router.prototype, 'route'); | ||
this._unwrap(moduleExports.Router.prototype, 'use'); | ||
this._unwrap(moduleExports.application.prototype, 'use'); | ||
const routerProto = moduleExports.Router; | ||
this._unwrap(routerProto, 'route'); | ||
this._unwrap(routerProto, 'use'); | ||
this._unwrap(moduleExports.application, 'use'); | ||
}), | ||
@@ -77,0 +78,0 @@ ]; |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.28.0"; | ||
export declare const VERSION = "0.29.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.28.0'; | ||
exports.VERSION = '0.29.0'; | ||
//# sourceMappingURL=version.js.map |
# Changelog | ||
## [0.29.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-express-v0.28.0...instrumentation-express-v0.29.0) (2022-05-14) | ||
### Features | ||
* add supported node versions for all packages ([#973](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/973)) ([baaacbd](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/baaacbdd35ca4baab0afae64647aa8c0380ee4b7)) | ||
* use Otel SDK 1.2/0.28 ([#984](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/984)) ([098c2ed](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/098c2ed6f9c5ab7bd865685018c0777245aab3b7)) | ||
### Bug Fixes | ||
* correctly disable Express instrumentation ([#972](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/972)) ([b55b79b](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/b55b79b72451c65080e01c2ec11655cabd5f65d9)) | ||
## [0.28.0](https://www.github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-express-v0.27.1...instrumentation-express-v0.28.0) (2022-02-06) | ||
@@ -4,0 +17,0 @@ |
{ | ||
"name": "@opentelemetry/instrumentation-express", | ||
"version": "0.28.0", | ||
"version": "0.29.0", | ||
"description": "OpenTelemetry express automatic instrumentation package.", | ||
@@ -11,3 +11,2 @@ "main": "build/src/index.js", | ||
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'", | ||
"codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", | ||
"tdd": "yarn test -- --watch-extensions ts --watch", | ||
@@ -17,6 +16,7 @@ "clean": "rimraf build/*", | ||
"lint:fix": "eslint . --ext .ts --fix", | ||
"precompile": "tsc --version && lerna run version --scope @opentelemetry/instrumentation-express --include-dependencies", | ||
"precompile": "tsc --version && lerna run version:update --scope @opentelemetry/instrumentation-express --include-dependencies", | ||
"prewatch": "npm run precompile", | ||
"version:update": "node ../../../scripts/version-update.js", | ||
"compile": "npm run version:update && tsc -p .", | ||
"compile": "tsc -p .", | ||
"compile:examples": "cd examples && npm run compile", | ||
"prepare": "npm run compile", | ||
@@ -36,3 +36,3 @@ "watch": "tsc -w" | ||
"engines": { | ||
"node": ">=8.5.0" | ||
"node": ">=8.12.0" | ||
}, | ||
@@ -51,12 +51,11 @@ "files": [ | ||
"peerDependencies": { | ||
"@opentelemetry/api": "^1.0.2" | ||
"@opentelemetry/api": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"@opentelemetry/api": "1.0.2", | ||
"@opentelemetry/context-async-hooks": "1.0.1", | ||
"@opentelemetry/sdk-trace-base": "1.0.1", | ||
"@opentelemetry/sdk-trace-node": "1.0.1", | ||
"@opentelemetry/api": "^1.0.0", | ||
"@opentelemetry/context-async-hooks": "1.2.0", | ||
"@opentelemetry/sdk-trace-base": "1.2.0", | ||
"@opentelemetry/sdk-trace-node": "1.2.0", | ||
"@types/mocha": "7.0.2", | ||
"@types/node": "16.11.21", | ||
"codecov": "3.8.3", | ||
"express": "4.17.1", | ||
@@ -67,3 +66,3 @@ "gts": "3.1.0", | ||
"rimraf": "3.0.2", | ||
"test-all-versions": "^5.0.1", | ||
"test-all-versions": "5.0.1", | ||
"ts-mocha": "8.0.0", | ||
@@ -74,7 +73,7 @@ "typescript": "4.3.5" | ||
"@opentelemetry/core": "^1.0.0", | ||
"@opentelemetry/instrumentation": "^0.27.0", | ||
"@opentelemetry/instrumentation": "^0.28.0", | ||
"@opentelemetry/semantic-conventions": "^1.0.0", | ||
"@types/express": "4.17.13" | ||
}, | ||
"gitHead": "ecd0307e98c4d4ecd2a111764bd77371a1390653" | ||
"gitHead": "f89da7d080d2aaecacd8728d647e8eff4c9248a9" | ||
} |
# OpenTelemetry Express Instrumentation for Node.js | ||
[![NPM Published Version][npm-img]][npm-url] | ||
[![dependencies][dependencies-image]][dependencies-url] | ||
[![devDependencies][devDependencies-image]][devDependencies-url] | ||
[![Apache License][license-image]][license-image] | ||
@@ -11,3 +9,3 @@ | ||
For automatic instrumentation see the | ||
[@opentelemetry/sdk-trace-node](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-node) package. | ||
[@opentelemetry/sdk-trace-node](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-node) package. | ||
@@ -98,7 +96,3 @@ Compatible with OpenTelemetry JS API and SDK `1.0+`. | ||
[license-image]: https://img.shields.io/badge/license-Apache_2.0-green.svg?style=flat | ||
[dependencies-image]: https://status.david-dm.org/gh/open-telemetry/opentelemetry-js-contrib.svg?path=plugins%2Fnode%2Fopentelemetry-instrumentation-express | ||
[dependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js-contrib?path=plugins%2Fnode%2Fopentelemetry-instrumentation-express | ||
[devDependencies-image]: https://status.david-dm.org/gh/open-telemetry/opentelemetry-js-contrib.svg?path=plugins%2Fnode%2Fopentelemetry-instrumentation-express&type=dev | ||
[devDependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js-contrib?path=plugins%2Fnode%2Fopentelemetry-instrumentation-express&type=dev | ||
[npm-url]: https://www.npmjs.com/package/@opentelemetry/instrumentation-dns | ||
[npm-img]: https://badge.fury.io/js/%40opentelemetry%2Finstrumentation-dns.svg |
Sorry, the diff of this file is not supported yet
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
58933
14
638
97
+ Added@opentelemetry/api-metrics@0.28.0(transitive)
+ Added@opentelemetry/instrumentation@0.28.0(transitive)
- Removed@opentelemetry/api-metrics@0.27.0(transitive)
- Removed@opentelemetry/instrumentation@0.27.0(transitive)