Instrument your code
Overview
Before you begin, you need to make a code change! Here's why.
Working with Kubernetes cluster? Check out the Kubernetes setup.
To run your project with Sprkl, the only thing you need to do is to run this command (assuming npm start
to start the application):
The Sprkl CLI analyzes all the code in the provided repository (detected by your current working directory) and then executes the given command (checkout Analysis).
The Sprkl CLI configures the environment of the executed node runtime to be fully instrumented according to your code changes.
![](https://docs.sprkl.dev/~gitbook/image?url=https%3A%2F%2F1092368479-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fj4NDnoZSy9A6g7bgG11J%252Fuploads%252FCRWMEDI78RJloNPtBQfF%252FHow%2520it%2520works.png%3Falt%3Dmedia%26token%3D0ade9c8a-d19c-45cf-9629-ffb69e0205c6&width=768&dpr=4&quality=100&sign=91f3dd8e&sv=1)
Usage
Last updated