Edzer Dionido
09/25/2025, 12:45 PMnode -r ./tracing.js app.js
. Could we avoid calling node -r ./tracing.js but instead just run the app.js?
Should I just require tracing.js in app.js?Edzer Dionido
09/25/2025, 2:18 PMEdzer Dionido
09/25/2025, 2:36 PMHien Le
09/25/2025, 4:42 PMNODE_OPTIONS
into your containers to load tracing.js
. You would also need to set the env-vars that point this towards the Signoz Collector. Some operator configurations can also create a sidecar container in your pods that runs a standard OTel Collector that can have a custom pipeline.
If you're not using the Operator, but just the Auto-Instrumentation libraries, env-vars are still an alternative to changing your app's invocation command / start script.
More details on your self-hosting environment (notice the sheer amount of combinations) will make it easier for support to guide you.