@opentelemetry/instrumentation-winston 0.50.1 → 0.51.0

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/README.md CHANGED
@@ -67,7 +67,7 @@ logger.info('foobar');
67
67
  | `disableLogSending` | `boolean` | Whether to disable [log sending](#log-sending). Default `false`. |
68
68
  | `logSeverity` | `SeverityNumber` | Control severity level for [log sending](#log-sending). Default `SeverityNumber.UNSPECIFIED`, it will use Winston Logger's current level when unspecified. |
69
69
  | `disableLogCorrelation` | `boolean` | Whether to disable [log correlation](#log-correlation). Default `false`. |
70
- | `logHook` | `LogHookFunction` | An option hook to inject additional context to a log record after trace-context has been added. This requires `disableLogCorrelation` to be false. |
70
+ | `logHook` | `LogHookFunction` | An option hook to inject additional context to a log record after trace-context has been added. This requires `disableLogCorrelation` to be false. |
71
71
 
72
72
  ### Log sending
73
73
 
@@ -175,4 +175,4 @@ Apache 2.0 - See [LICENSE][license-url] for more information.
175
175
  [license-url]: https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/LICENSE
176
176
  [license-image]: https://img.shields.io/badge/license-Apache_2.0-green.svg?style=flat
177
177
  [npm-url]: https://www.npmjs.com/package/@opentelemetry/instrumentation-winston
178
- [npm-img]: https://img.shields.io/npm/v/%40opentelemetry%2Finstrumentation-winston.svg
178
+ [npm-img]: https://badge.fury.io/js/%40opentelemetry%2Finstrumentation-winston.svg
@@ -1,3 +1,3 @@
1
- export declare const PACKAGE_VERSION = "0.50.1";
1
+ export declare const PACKAGE_VERSION = "0.51.0";
2
2
  export declare const PACKAGE_NAME = "@opentelemetry/instrumentation-winston";
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -17,6 +17,6 @@
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.PACKAGE_NAME = exports.PACKAGE_VERSION = void 0;
19
19
  // this is autogenerated file, see scripts/version-update.js
20
- exports.PACKAGE_VERSION = '0.50.1';
20
+ exports.PACKAGE_VERSION = '0.51.0';
21
21
  exports.PACKAGE_NAME = '@opentelemetry/instrumentation-winston';
22
22
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4DAA4D;AAC/C,QAAA,eAAe,GAAG,QAAQ,CAAC;AAC3B,QAAA,YAAY,GAAG,wCAAwC,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const PACKAGE_VERSION = '0.50.1';\nexport const PACKAGE_NAME = '@opentelemetry/instrumentation-winston';\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4DAA4D;AAC/C,QAAA,eAAe,GAAG,QAAQ,CAAC;AAC3B,QAAA,YAAY,GAAG,wCAAwC,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const PACKAGE_VERSION = '0.51.0';\nexport const PACKAGE_NAME = '@opentelemetry/instrumentation-winston';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentelemetry/instrumentation-winston",
3
- "version": "0.50.1",
3
+ "version": "0.51.0",
4
4
  "description": "OpenTelemetry instrumentation for `winston` logger",
5
5
  "main": "build/src/index.js",
6
6
  "types": "build/src/index.d.ts",
@@ -51,7 +51,7 @@
51
51
  "@opentelemetry/context-async-hooks": "^2.0.0",
52
52
  "@opentelemetry/sdk-trace-base": "^2.0.0",
53
53
  "@opentelemetry/sdk-trace-node": "^2.0.0",
54
- "@opentelemetry/winston-transport": "^0.16.1",
54
+ "@opentelemetry/winston-transport": "^0.17.0",
55
55
  "@types/mocha": "10.0.10",
56
56
  "@types/node": "18.18.14",
57
57
  "@types/sinon": "17.0.4",
@@ -65,9 +65,9 @@
65
65
  "winston2": "npm:winston@2.4.7"
66
66
  },
67
67
  "dependencies": {
68
- "@opentelemetry/api-logs": "^0.205.0",
69
- "@opentelemetry/instrumentation": "^0.205.0"
68
+ "@opentelemetry/api-logs": "^0.206.0",
69
+ "@opentelemetry/instrumentation": "^0.206.0"
70
70
  },
71
71
  "homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/instrumentation-winston#readme",
72
- "gitHead": "931c7b34f53ea625da900726b1f57c5c934b5b28"
72
+ "gitHead": "333e026413f082f90859bb778abf7519fbffa940"
73
73
  }