Getting Started with ToDo App
Instrumenting your Java application may be challenging when you are not familiar with it. Therefore, we have designed a tailored experience for you to understand how Thundra Sidekick works with a simple ToDo application.
You need to connect the source of your running code. For the sample, you can connect ToDo app’s repository.
Learn more about connecting your own source:
Instrumenting ToDo app with Docker. For this step, Docker needs to be initialized on your system.
Download the Docker image using:
docker pull thundraio/thundra-demo-todo-app-java:latest
Run in your local:
docker run -e THUNDRA_APIKEY=<YOUR-API-KEY>
-e thundra_agent_broker_host=wss://broker.thundra.me -p 8080:8080
Learn more about instrumenting your own application:
Apps need to be selected to start debugging. When you click "Select Application For Me" you will be able to start debugging.
Sidekick will capture the snapshot when you add a task on ToDo app. For this purpose, you will open ToDoServiceImpl.java file and add a Tracepoint on 27th line.
Click "Open File" to open related Java file
Click "Put Tracepoint" for putting Tracepoint on 27th line.
Your app needs to be up and running at
localhost:8080Open your ToDo app and add a task.
Add a simple task
You will see the events generated when you add a task. In order to see events panel, click on the "Let me have a look"
You are all set! Click on the finish button and navigate through Sidekick!
You can always instrument your own application. To start instrumenting your own application: