@opentelemetry/instrumentation-winston
Advanced tools
Comparing version 0.27.1 to 0.27.2
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.27.1"; | ||
export declare const VERSION = "0.27.2"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.27.1'; | ||
exports.VERSION = '0.27.2'; | ||
//# sourceMappingURL=version.js.map |
# Changelog | ||
### [0.27.2](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-winston-v0.27.1...instrumentation-winston-v0.27.2) (2022-03-02) | ||
### Bug Fixes | ||
* **documentation:** mixed up winston readme for hook ([#910](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/910)) ([0a557e8](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/0a557e86c0d70dc6ab7af9736b1746f89c5fc8bf)) | ||
### [0.27.1](https://www.github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-winston-v0.27.0...instrumentation-winston-v0.27.1) (2022-01-24) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@opentelemetry/instrumentation-winston", | ||
"version": "0.27.1", | ||
"version": "0.27.2", | ||
"description": "OpenTelemetry instrumentation for winston", | ||
@@ -15,3 +15,2 @@ "main": "build/src/index.js", | ||
"lint:fix": "eslint . --ext .ts --fix", | ||
"codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", | ||
"precompile": "tsc --version && lerna run version --scope @opentelemetry/instrumentation-winston --include-dependencies", | ||
@@ -57,5 +56,4 @@ "prewatch": "npm run precompile", | ||
"@types/mocha": "7.0.2", | ||
"@types/node": "14.17.9", | ||
"@types/node": "16.11.21", | ||
"@types/sinon": "10.0.2", | ||
"codecov": "3.8.3", | ||
"colors": "1.4.0", | ||
@@ -66,3 +64,3 @@ "gts": "3.1.0", | ||
"rimraf": "3.0.2", | ||
"sinon": "12.0.1", | ||
"sinon": "13.0.1", | ||
"test-all-versions": "5.0.1", | ||
@@ -77,3 +75,3 @@ "ts-mocha": "8.0.0", | ||
}, | ||
"gitHead": "edfc04cbe3e7faaa365724ddc26bf702b68cc008" | ||
"gitHead": "78717b6dda677bf737811c34df21ef0ec88c31a3" | ||
} |
@@ -33,3 +33,3 @@ # OpenTelemetry instrumentation for winston | ||
// Called after trace context is injected to metadata. | ||
logHook: (record, span) => { | ||
logHook: (span, record) => { | ||
record['resource.service.name'] = provider.resource.attributes['service.name']; | ||
@@ -36,0 +36,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
33641
18