instrumentation-grpc doesn't seem to get initialized with --require @opentelemetry/auto-instrumentations-node/register #5301
Labels
bug
Something isn't working
pkg:instrumentation
priority:p2
Bugs and spec inconsistencies which cause telemetry to be incomplete or incorrect
triage
What happened?
grpc (and others, but I'm especially concerned with grpc) traces aren't being emitted. Calls are successful, but no trace is emitted, and no context (or baggage) is propagated. Incoming http and dns traces are present, so it seems isolated some instrumentation.
I'm using modules and passing
--require
as an argument to node.Here's a repo reproducing the problem:
https://github.com/gitops-ci-cd/acme-node/blob/main/package.json#L7
Simply run
then visit http://localhost:8080/api/v1/hello.
OpenTelemetry Setup Code
package.json
No response
Relevant log output
I see hooks for http and dns, but none for grpc (or even express, which I'm using)
Operating System and Version
Runtime and Version
Running via docker.
The text was updated successfully, but these errors were encountered: