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
We have a typescript project that is using winston logger and express. We transpiling the code with tsc to commonjs. We are using yarn4 as a package manager, @opentelemetry/[email protected] and @opentelemetry/[email protected]
We run the server with node --require @opentelemetry/auto-instrumentations-node/register --inspect dist/index.js
When setting the yarn nodeLinker to node-modules (yarn config set nodeLinker node-module) the winston log library is logging the trace context as expected.
When setting the yarn nodeLinker to pnpm (yarn config set nodeLinker pnpm) the winston log library is NOT logging the trace context as expected. the trace-id is missing in winston context.
[ x ] This only affects the JavaScript OpenTelemetry library
This may affect other libraries, but I would like to get opinions here first
The text was updated successfully, but these errors were encountered:
We have a typescript project that is using winston logger and express. We transpiling the code with
tsc
to commonjs. We are using yarn4 as a package manager, @opentelemetry/[email protected] and @opentelemetry/[email protected]We run the server with
node --require @opentelemetry/auto-instrumentations-node/register --inspect dist/index.js
When setting the yarn nodeLinker to
node-modules
(yarn config set nodeLinker node-module
) the winston log library is logging the trace context as expected.When setting the yarn nodeLinker to
pnpm
(yarn config set nodeLinker pnpm
) the winston log library is NOT logging the trace context as expected. the trace-id is missing in winston context.The text was updated successfully, but these errors were encountered: