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
npm i @opentelemetry/api @opentelemetry/auto-instrumentations-node
# index.js is empty file
node -r @opentelemetry/auto-instrumentations-node/register index.js
What did you expect to see?
No warnings.
What did you see instead?
Following warning on process startup:
@opentelemetry/instrumentation-grpc Module @grpc/grpc-js has been loaded before @opentelemetry/instrumentation-grpc so it might not work, please initialize it before requiring @grpc/grpc-js
Thanks for reaching out! There's actually a bug in the exporters that I'm working on fixing that loads grpc too early and causes this error message to be logged. (open-telemetry/opentelemetry-js#4151). It also interferes with the grpc instrumentation and causes telemetry to not be generated. I'll close this as a dupliacte in favor of the issue in the core repo for now.
Please let me know if you think this is a mistake, then I'll re-open this issue. 🙂
What version of OpenTelemetry are you using?
@opentelemetry/api
: 1.6.0@opentelemetry/auto-instrumentations-node
: 0.39.4What version of Node are you using?
v20.9.0
What did you do?
npm i @opentelemetry/api @opentelemetry/auto-instrumentations-node # index.js is empty file node -r @opentelemetry/auto-instrumentations-node/register index.js
What did you expect to see?
No warnings.
What did you see instead?
Following warning on process startup:
Additional context
I noticed following package chain:
The text was updated successfully, but these errors were encountered: