@opentelemetry/instrumentation-koa
Advanced tools
Comparing version 0.30.0 to 0.31.0
@@ -31,3 +31,3 @@ "use strict"; | ||
}, | ||
name: `router - ${layerPath}`, | ||
name: context._matchedRouteName || `router - ${layerPath}`, | ||
}; | ||
@@ -34,0 +34,0 @@ } |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.30.0"; | ||
export declare const VERSION = "0.31.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.30.0'; | ||
exports.VERSION = '0.31.0'; | ||
//# sourceMappingURL=version.js.map |
# Changelog | ||
## [0.31.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-koa-v0.30.0...instrumentation-koa-v0.31.0) (2022-08-09) | ||
### Features | ||
* use Koa router name as span name if available ([#976](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/976)) ([fa4fe9c](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/fa4fe9c9137e198aef897a2c4e01c932c62faabf)) | ||
## [0.30.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-koa-v0.29.0...instrumentation-koa-v0.30.0) (2022-06-08) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@opentelemetry/instrumentation-koa", | ||
"version": "0.30.0", | ||
"version": "0.31.0", | ||
"description": "OpenTelemetry Koa automatic instrumentation package.", | ||
@@ -64,3 +64,3 @@ "main": "build/src/index.js", | ||
"test-all-versions": "5.0.1", | ||
"ts-mocha": "8.0.0", | ||
"ts-mocha": "10.0.0", | ||
"typescript": "4.3.5" | ||
@@ -76,3 +76,3 @@ }, | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-koa#readme", | ||
"gitHead": "9633cf49c4099e97dd2a285d0399455e17a593e3" | ||
"gitHead": "a099c4111d4e8cdcbde6e78cad69bef3ad881a56" | ||
} |
@@ -6,6 +6,5 @@ # OpenTelemetry Koa Instrumentation for Node.js | ||
This module provides automatic instrumentation for [Koa](https://github.com/koajs/koa). | ||
This module provides automatic instrumentation for the [Koa](https://github.com/koajs/koa) module, which may be loaded using the [`@opentelemetry/sdk-trace-node`](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-node) package and is included in the [`@opentelemetry/auto-instrumentations-node`](https://www.npmjs.com/package/@opentelemetry/auto-instrumentations-node) bundle. | ||
For automatic instrumentation see the | ||
[`@opentelemetry/sdk-trace-node`](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-node) package. | ||
If total installation size is not constrained, it is recommended to use the [`@opentelemetry/auto-instrumentations-node`](https://www.npmjs.com/package/@opentelemetry/auto-instrumentations-node) bundle with [@opentelemetry/sdk-node](`https://www.npmjs.com/package/@opentelemetry/sdk-node`) for the most seamless instrumentation experience. | ||
@@ -12,0 +11,0 @@ Compatible with OpenTelemetry JS API and SDK `1.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
42565
73