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 can always start by instrumenting your own app, but let's see how easy it is to debug your application with our sample app.
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_report_rest_baseurl=https://api-lab.thundra.io/v1/-e thundra_agent_broker_host=wss://broker.thundra.me -p 8080:8080thundraio/thundra-demo-todo-app-java:latest
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.
Your app needs to be up and running at
localhost:8080 Open your ToDo app and add a 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: