-
I'm trying to set up tracing on a node service for the first time. I'm trying something basic like the code below (based on one of the examples), and the auto-instrumentation seems to be working based on the fact that I'm seeing reasonable output in the console. However, the exporter to the collector seems broken, and I'm seeing the following error. Could anyone help me figure out what I'm doing wrong? I am also confident that the collector itself does work, since I am able to send traces to it from a different service written in Go. Thanks in advance for any help!
tracing.ts (I've also tried some small changes like specifying the url and service name for the exporter, or using HTTP instead of gRPC)
index.ts
example traces showing up in console
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
Can you please provide all installed versions of OpenTelemetry modules and the collector? We have seen errors like this in the past when someone is using a different version of the exporter than the tracing module for instance. |
Beta Was this translation helpful? Give feedback.
Can you please provide all installed versions of OpenTelemetry modules and the collector? We have seen errors like this in the past when someone is using a different version of the exporter than the tracing module for instance.