Service backtrace
More than just knowing which service directly calls one of your services, it's helpful to know the sequence of service calls that leads up to each request—all the way back up to the browser click that triggered the sequence of calls. Dynatrace Service-level backtrace can show you such call sequences.
Say for example that you’re analyzing a SQL database service and you want to understand the sequence of preceding service requests that ultimately triggered the incoming requests to the SQL service. With service-level backtrace you might learn that, for example, the SQL database service is called by Service1
, while Service1
is called by Service2
, which in turn was triggered by a click on a login button.
To view service-level backtrace
- In the Dynatrace menu, select Services.
- Select the service you want analyze.
- On the service overview page, in the Understand dependencies section, select Analyze backtrace to view the service-level backtrace of requests to this service.
Notice in this example that the majority of calls come from a web application, easyTravel
, and that the calls come via a specific chain of services (EasyTravelWebServer
calls easyTravel Customer Frontend
that calls CouchDB_ET
). Select any element of the chain to see the names of individual requests. In the image below, all requests to CouchDB_ET
originating from the easytravel.com
application come from a detailed list of user actions.
When a service or an application in a backtrace hierarchy is selected, you can access further analysis regarding this service or application in two separate sections.
In the first section, in the case of an application, you can view the list of user actions of this specific application that occurred within the selected timeframe. In the case of services, you can view the types of requests that were made by that particular service to the next service in the backtrace flow.
The next section includes analysis data regarding the number of requests and any failures that may have occurred. Further information can be accessed by selecting the tabs:
- Reasons for failed requests
Lists the reasons that specific requests failed. - Stacktrace
Shows in which part of the code a request was executed. - Referring pages
Shows the HTTP referrers that contributed to the specific backtrace flow. - Proxies
Provides information about the proxies or load balancers that a request was sent through. - Analyze
Offers various analysis options for both the selected service (in the left-hand column) and the service examined in the backtrace (right-hand column).
Additionally, you have the option of showing only those transactions that contain the current call chain. Just select Filter service backtrace.
If a clustered service is selected in the backtrace, open the Instances tab to view the same analysis for every service instances (see image above).
Backtrace analysis examples
Here are some examples of how to use backtrace analysis: