Tracing

🕓 10 minutes

What you’ll learn#

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.

Prerequisites#

Steps#

  1. 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.
go_to_lib

go_to_lib

  1. 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.
go_to_lib

go_to_lib

go_to_lib

go_to_lib

  • 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.
go_to_lib

go_to_lib

  • You can also use the search field to find the specific component.
    • It will be highlighted in yellow.
go_to_lib

  • 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.
go_to_lib

go_to_lib

  1. 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.
go_to_lib

  • If you click on the service, you will see detailed information about it.
go_to_lib

go_to_lib

  • 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.
go_to_lib

go_to_lib

  1. 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.
go_to_lib

What's next?#

See our other manuals: