/
Set Context Propagation on the Node Agent

Set Context Propagation on the Node Agent

In order to enable context propagation on the Node Agent, you will need to set the --enableOpenTelemetry flag when applying the scan command, for example:

npx slnodejs scan --workspacepath ./MyApp --tokenfile sltoken.txt --buildsessionidfile buildSessionId --scm none --instrumentForBrowsers --enableOpenTelemetry --outputpath "sl_dist"

 

Related content

Set Context Propagation on the Java Agent
Set Context Propagation on the Java Agent
Read with this
Using Node.js Agents - Running backend server using SeaLights agent
Using Node.js Agents - Running backend server using SeaLights agent
More like this
SeaLights Node.js agent - Command Reference
SeaLights Node.js agent - Command Reference
More like this
Using Node.js Agent - Running Tests
Using Node.js Agent - Running Tests
More like this
Using Node.js Agents - Scanning and running a ts-node project
Using Node.js Agents - Scanning and running a ts-node project
More like this
SeaLights Node.js agent - Scanning and Instrumentation of a Front-End app
SeaLights Node.js agent - Scanning and Instrumentation of a Front-End app
More like this