I'm using Signoz for my express js app, but in tra...
# support
a
I'm using Signoz for my express js app, but in traces I only see traces with tcp.connect name. No information what endpoint was requested etc.
a
+1
s
Please check the compatibility of the version of your framework with it's instrumentation library in https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node
a
I'm using auto instrumentation
Copy code
instrumentations: [getNodeAutoInstrumentations()],
s
Yes, it instruments all the known packages listed in the above link. If your framework is missing, then it is not traced, however if your framework is there but traces are not generated, then it might be version compatibility issue
a
I was using express v5 which is not supported. I downgraded to express 4 but it's also not working correctly
from time to time it's randomly working without any changes in the code, but most of the time it's not
when its working logs also have trace_id and span_id assigned
when it's not working trace_id and span_id are missing in logs
found a solution
I've change in tsconfig.json from
Copy code
"target": "ES6",
"module": "ESNext",
to
Copy code
"target": "es2016",
"module": "commonjs",
and now everything works fine