🕓 10 minutes
How to use tracing for monitoring, analysing, debugging, and optimising your code.
- Tracing helps you to
- detect failures and the place where they occur
- understand what causes the poor performance of the application.
- Find the "Logging&Tracing" section in the sidebar menu and go to the "Tracing" option.
- Here you have different ways of finding an application component:
- You can search your application components by traceID.
- You can fill in the form for a complex search for the chosen application component.
- You can drag and drop a JSON file.
- Search by traceID.
- Open the chosen application component in the browser, make a request in swagger and copy the traceID from the response.
- You need to paste the traceID into the search field and click on the "Search" button.
- There you will find the analysis of the tracing system in the chosen application.
- You can click on the button in the right corner to see the Keyboard Shortcuts to easier surfing through the tracing page.
- You can also use the search field to find the specific component.
- It will be highlighted in yellow.
- In the right corner of the upper menu, you can choose how you would like the data to be shown in the page.
- Trace Timeline.
- Trace Graph.
- Trace JSON.
- Complex searching.
- You can properly specify the searching target in the left form.
- After you have filled in all the data, click on the "Find Trace" button and you will see the statistics regarding the chosen component.
- If you click on the service, you will see detailed information about it.
- You can select two or more objects, then click on the "Compare Trace" button to see the detailed statistics for all the chosen components, so you can compare their traces, if you need to.
- JSON file.
- You can save the JSON file from the "Trace JSON" and then drag and drop it to see the tracing of the chosen component.
See our other manuals: