Instrument a Front-End App
Prerequisites
Instrumentation command
npx slnodejs instrument [--labid <Lab ID>] \
--tokenfile /path/to/sltoken.txt --buildsessionidfile buildSessionId \
--workspacepath dist --outputpath sl_dist \
--splitPreambleIntoFile [--failbuild true]call npx slnodejs instrument [--labid <Lab ID>] `
--tokenfile \path\to\sltoken.txt --buildsessionidfile buildSessionId `
--workspacepath dist --outputpath sl_dist `
--splitPreambleIntoFile [--failbuild true]
Deploying Sealights instrumented folder
Deploying the folder containing the instrumented code
Deploying Instrumentation for several environments (Lab IDs)
Using slnodejs agent
Using a Search and Replace operation
Validating the Instrumentation and build number in the JS source from the Browser

Last updated
Was this helpful?

