GoogleCloudPlatform/opentelemetry-operations-js

Cloud Run Job trace.getActiveSpan() doesn't work

Closed this issue · 0 comments

I have autoinstrumented spans working in cloud run job, but when I call trace.getActiveSpan() then I get undefined instead of the autoinstrumented span.

Does anyone have any idea why?