@opentelemetry/instrumentation-winston 0.27.1 → 0.27.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ### [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)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **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))
9
+
3
10
  ### [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
11
 
5
12
 
package/LICENSE CHANGED
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright [yyyy] [name of copyright owner]
189
+ Copyright [2022] OpenTelemetry Authors
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.
package/README.md CHANGED
@@ -30,7 +30,7 @@ registerInstrumentations({
30
30
  new WinstonInstrumentation({
31
31
  // Optional hook to insert additional context to log metadata.
32
32
  // Called after trace context is injected to metadata.
33
- logHook: (record, span) => {
33
+ logHook: (span, record) => {
34
34
  record['resource.service.name'] = provider.resource.attributes['service.name'];
35
35
  },
36
36
  }),
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.27.1";
1
+ export declare const VERSION = "0.27.2";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -17,5 +17,5 @@
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.VERSION = void 0;
19
19
  // this is autogenerated file, see scripts/version-update.js
20
- exports.VERSION = '0.27.1';
20
+ exports.VERSION = '0.27.2';
21
21
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentelemetry/instrumentation-winston",
3
- "version": "0.27.1",
3
+ "version": "0.27.2",
4
4
  "description": "OpenTelemetry instrumentation for winston",
5
5
  "main": "build/src/index.js",
6
6
  "types": "build/src/index.d.ts",
@@ -12,7 +12,6 @@
12
12
  "clean": "rimraf build/*",
13
13
  "lint": "eslint . --ext .ts",
14
14
  "lint:fix": "eslint . --ext .ts --fix",
15
- "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../",
16
15
  "precompile": "tsc --version && lerna run version --scope @opentelemetry/instrumentation-winston --include-dependencies",
17
16
  "prewatch": "npm run precompile",
18
17
  "prepare": "npm run compile",
@@ -53,15 +52,14 @@
53
52
  "@opentelemetry/sdk-trace-base": "1.0.1",
54
53
  "@opentelemetry/sdk-trace-node": "1.0.1",
55
54
  "@types/mocha": "7.0.2",
56
- "@types/node": "14.17.9",
55
+ "@types/node": "16.11.21",
57
56
  "@types/sinon": "10.0.2",
58
- "codecov": "3.8.3",
59
57
  "colors": "1.4.0",
60
58
  "gts": "3.1.0",
61
59
  "mocha": "7.2.0",
62
60
  "nyc": "15.1.0",
63
61
  "rimraf": "3.0.2",
64
- "sinon": "12.0.1",
62
+ "sinon": "13.0.1",
65
63
  "test-all-versions": "5.0.1",
66
64
  "ts-mocha": "8.0.0",
67
65
  "typescript": "4.3.5",
@@ -71,5 +69,5 @@
71
69
  "dependencies": {
72
70
  "@opentelemetry/instrumentation": "^0.27.0"
73
71
  },
74
- "gitHead": "edfc04cbe3e7faaa365724ddc26bf702b68cc008"
72
+ "gitHead": "78717b6dda677bf737811c34df21ef0ec88c31a3"
75
73
  }