X-Ray Analytics is a powerful tool that can help you debug and identify issues quickly. Take some time and look around the options available for you to work with.
X-Ray
.Analytics
from the left navigation menu.Your screen should look similar to the screenshot below.
In the screenshot above you can see that there are certain traces that exhibit a higher latency (in the order of 3 seconds or more) compared to others. In this section we will filter for those traces and find out the root cause.
Remember that there are a variety of options available for you to filter traces. We will use the Response time distribution
table to filter the traces because we are investigating a higher latency scenario.
In the example for this section, about 56% of the traces were included the PetType=bunny
querystring in the url.
This will apply another filter on the already filtered traces and show a screen like the one below.
Using the Analytics console you can also compare two sets of traces with different conditions for root cause analysis purposes.
Compare
box at the top right of the Analytics page.This will create trace set B and color the traces green on the response time distribution graph. By default, X-Ray will create another set of with the same filter conditions as trace set A.
This concludes this section. You may continue on to the next section.