You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Logs will be duplicated if `@opentelemetry/winston-transport` is added as a transport in `winston` and `@opentelemetry/instrumentation-winston` is configured with `disableLogSending: false`.
Copy file name to clipboardExpand all lines: plugins/node/opentelemetry-instrumentation-winston/README.md
+37Lines changed: 37 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -104,6 +104,43 @@ logHook: (span, record) => {
104
104
105
105
Log injection can be disabled with the `disableLogCorrelation: true` option.
106
106
107
+
### Using OpenTelemetryTransportV3 without instrumentation
108
+
109
+
[@opentelemetry/winston-transport](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/winston-transport) package exports the Winston transport class that is used to send records to the
110
+
OpenTelemetry Logs SDK. It can be used directly when configuring a Winston logger.
> Logs will be duplicated if `@opentelemetry/winston-transport` is added as a transport in `winston` and `@opentelemetry/instrumentation-winston` is configured with `disableLogSending: false`.
143
+
107
144
## Semantic Conventions
108
145
109
146
This package does not currently generate any attributes from semantic conventions.
0 commit comments