Closed TriPSs closed 3 years ago
After downgrading everything to the same version as opentelemetry-cloud-trace-exporter
it worked.
FYI @opentelemetry/tracing
was renamed to @opentelemetry/sdk-trace-base
so you shouldn't have the former at all anymore.
NPM should be complaining that the peer dependencies of @google-cloud/opentelemetry-cloud-trace-exporter
are not met if the versions are mismatched. Not sure why you weren't getting that. Regardless, with the OTel 1.0 release just made, this should be a problem of the past once I release the Google packages for the new version
Please answer these questions before submitting a bug report.
What version of OpenTelemetry are you using?
What version of Node are you using?
v14.15.1
What did you do?
I enabled tracing in my API that is running on Cloud Run, with the following instructrions
Only the Fastify requests are visible inside the correct root span but all the mysql spans are not connected to the root span, grapql spans are completely missing in google trace.
What did you expect to see?
To see all the spans connected to the trace like this:
As you can see in the image, if I use Jaegur as exporter everything works as expected.
What did you see instead?
Additional context
Add any other context about the problem here.