@opentelemetry/instrumentation-winston 0.26.0 → 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 +23 -0
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/build/src/types.d.ts +1 -0
- package/build/src/version.d.ts +1 -1
- package/build/src/version.js +1 -1
- package/package.json +15 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
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
|
+
|
|
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)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* fix CI by forcing colors@1.4.0 ([#825](https://www.github.com/open-telemetry/opentelemetry-js-contrib/issues/825)) ([0ec9f08](https://www.github.com/open-telemetry/opentelemetry-js-contrib/commit/0ec9f080520fe0f146a915a656300ef53a151ace))
|
|
16
|
+
* rename lerna's --include-filtered-dependencies option ([#817](https://www.github.com/open-telemetry/opentelemetry-js-contrib/issues/817)) ([cf268e7](https://www.github.com/open-telemetry/opentelemetry-js-contrib/commit/cf268e7a92b7800ad6dbec9ca77466f9ee03ee1a))
|
|
17
|
+
* use localhost for services in CI ([#816](https://www.github.com/open-telemetry/opentelemetry-js-contrib/issues/816)) ([f497313](https://www.github.com/open-telemetry/opentelemetry-js-contrib/commit/f4973133e86549bbca301983085cc67788a10acd))
|
|
18
|
+
|
|
19
|
+
## [0.27.0](https://www.github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-winston-v0.26.0...instrumentation-winston-v0.27.0) (2021-11-30)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* use latest instrumentation base ([#769](https://www.github.com/open-telemetry/opentelemetry-js-contrib/issues/769)) ([7aff23e](https://www.github.com/open-telemetry/opentelemetry-js-contrib/commit/7aff23ebebbe209fa3b78c2e7f513c9cd2231be4))
|
|
25
|
+
|
|
3
26
|
## [0.26.0](https://www.github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-winston-v0.25.0...instrumentation-winston-v0.26.0) (2021-10-22)
|
|
4
27
|
|
|
5
28
|
|
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 [
|
|
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: (
|
|
33
|
+
logHook: (span, record) => {
|
|
34
34
|
record['resource.service.name'] = provider.resource.attributes['service.name'];
|
|
35
35
|
},
|
|
36
36
|
}),
|
package/build/src/types.d.ts
CHANGED
package/build/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.27.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/build/src/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentelemetry/instrumentation-winston",
|
|
3
|
-
"version": "0.
|
|
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",
|
|
7
7
|
"repository": "open-telemetry/opentelemetry-js-contrib",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'",
|
|
10
|
+
"test-all-versions": "tav",
|
|
10
11
|
"tdd": "npm run test -- --watch-extensions ts --watch",
|
|
11
12
|
"clean": "rimraf build/*",
|
|
12
13
|
"lint": "eslint . --ext .ts",
|
|
13
14
|
"lint:fix": "eslint . --ext .ts --fix",
|
|
14
|
-
"
|
|
15
|
-
"precompile": "tsc --version && lerna run version --scope @opentelemetry/instrumentation-winston --include-filtered-dependencies",
|
|
15
|
+
"precompile": "tsc --version && lerna run version --scope @opentelemetry/instrumentation-winston --include-dependencies",
|
|
16
16
|
"prewatch": "npm run precompile",
|
|
17
17
|
"prepare": "npm run compile",
|
|
18
18
|
"version:update": "node ../../../scripts/version-update.js",
|
|
19
19
|
"compile": "npm run version:update && tsc -p ."
|
|
20
20
|
},
|
|
21
21
|
"keywords": [
|
|
22
|
-
"
|
|
22
|
+
"instrumentation",
|
|
23
23
|
"logging",
|
|
24
24
|
"nodejs",
|
|
25
|
-
"
|
|
25
|
+
"opentelemetry",
|
|
26
26
|
"profiling",
|
|
27
|
-
"
|
|
27
|
+
"tracing",
|
|
28
28
|
"winston"
|
|
29
29
|
],
|
|
30
30
|
"author": "OpenTelemetry Authors",
|
|
@@ -48,25 +48,26 @@
|
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@opentelemetry/api": "1.0.2",
|
|
51
|
-
"@opentelemetry/context-async-hooks": "1.0.
|
|
52
|
-
"@opentelemetry/sdk-trace-base": "1.0.
|
|
53
|
-
"@opentelemetry/sdk-trace-node": "1.0.
|
|
51
|
+
"@opentelemetry/context-async-hooks": "1.0.1",
|
|
52
|
+
"@opentelemetry/sdk-trace-base": "1.0.1",
|
|
53
|
+
"@opentelemetry/sdk-trace-node": "1.0.1",
|
|
54
54
|
"@types/mocha": "7.0.2",
|
|
55
|
-
"@types/node": "
|
|
55
|
+
"@types/node": "16.11.21",
|
|
56
56
|
"@types/sinon": "10.0.2",
|
|
57
|
-
"
|
|
57
|
+
"colors": "1.4.0",
|
|
58
58
|
"gts": "3.1.0",
|
|
59
59
|
"mocha": "7.2.0",
|
|
60
60
|
"nyc": "15.1.0",
|
|
61
61
|
"rimraf": "3.0.2",
|
|
62
|
-
"sinon": "
|
|
62
|
+
"sinon": "13.0.1",
|
|
63
|
+
"test-all-versions": "5.0.1",
|
|
63
64
|
"ts-mocha": "8.0.0",
|
|
64
65
|
"typescript": "4.3.5",
|
|
65
66
|
"winston": "3.3.3",
|
|
66
67
|
"winston2": "npm:winston@2.4.5"
|
|
67
68
|
},
|
|
68
69
|
"dependencies": {
|
|
69
|
-
"@opentelemetry/instrumentation": "^0.
|
|
70
|
+
"@opentelemetry/instrumentation": "^0.27.0"
|
|
70
71
|
},
|
|
71
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "78717b6dda677bf737811c34df21ef0ec88c31a3"
|
|
72
73
|
}
|