Troubleshooting Node App Instrumentation with Signoz
TLDR Romario encountered a "TypeError" while following a guide to instrument a node app, discovered that
sdk.start() is not a promise, and resolved the issue using the
Apr 12, 2023 (5 months ago)
> [email protected] start > TS_NODE_BASEURL=./build node -r tsconfig-paths/register build/src/tracing.js build/src/main.js /Users/rlopez/repos/gitstart/gateway/build/src/tracing.js:35 .then(() => console.log("Tracing initialized")) ^ TypeError: Cannot read properties of undefined (reading 'then') at Object.<anonymous> (/Users/rlopez/repos/gitstart/gateway/build/src/tracing.js:35:3) at Module._compile (node:internal/modules/cjs/loader:1097:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1151:10) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 Node.js v18.4.0
start()type changed, is not a promise anymore 🤔
Palash Gupta07:50 PM
initoption, is working
Indexed 825 threads (61% resolved)
Issue with sdk.start() in Signoz and Next.js
wafot encountered an error with sdk.start(). Romario clarified that it no longer returns a promise. Ankit requested documentation update.
Error Installing SigNoz on NodeJS App on Graviton Server
abhinav faced errors installing SigNoz on a NodeJS app. vishal-signoz suggested following a workaround on an opentelemetry issue, which resolved the problem.
Issues with Signoz 10.2: Grouping, Missing Traces, and Capturing Requests
Anil reported issues with Signoz 10.2, including grouping, missing traces, and capturing requests. Srikanth suggested upgrading to a newer version. The issue was resolved after upgrading the node version to 18 and additional clarifications were provided.