Investigate Errors and Latencies

As you continue to use Akita to track the behavior of your API, you will eventually need to know about where there are errors and where there are latencies. That is where our Metrics & Errors page comes in.

You can get to the Metrics and Errors page by clicking on "Metrics & Errors" in the top navigation or by clicking the arrow from Errors or Latencies on the Overview page.

565565 16281628

The Metrics and Errors page will show you graphs of:

  • The total number of events (or times the Akita Agent has seen a specific endpoint with a given status)
  • The P90 of the observed endpoints
  • The endpoints with 4xx errors, and
  • The endpoints with 5xx errors
16391639

As well as a list of all the observed endpoints with errors or latencies within the last 12 hours.

You can change the timeframe you are investigating from the "Time range" menu.

16161616

Investigate Errors

There are many different ways to dig into the data on the Metrics & Errors page. One of the fastest ways to find information is choosing "Most 4xxs" or "Most 5xxs" from the Select menu under the search bar.

16091609

This action will select all the endpoints with 4xx responses or 5xx responses, and populate them in the graphs for you to inspect.

If you click on a specific endpoint, you will be taken to a page where you can compare the p90 and request count from just that endpoint over time, and see detailed information about the individual requests and responses from that endpoint.

16111611

If you are interested only in specific response codes, you can filter the endpoints by the codes you want to investigate.

16151615

You can also filter by HTTP Methods or specific hosts. You can also combine all of these filters to hone in on specific areas of your API. As you filter, the graphs will update to match your selections.

16121612

Investigate Latencies

Similarly to Errors, there are a lot of ways to investigate latencies. Two methods are particularly fast at showing you interesting latency information quickly: sorting and searching.

You can sort the list of endpoints by "Peak P90," which will then list your endpoints slowest to fastest. You can reverse this ordering in order to show the fastest first by clicking again.

16141614

You can do a similar thing by choosing "Slowest" from the "Select" menu beneath the search bar. This will pull all the endpoints with the highest p90s to the top of the list, and also select them so that they are populated in the graphs for you to inspect further.

16141614

If you click on a specific endpoint, you will be taken to a page where you can compare the p90 and request count from just that endpoint over time, and see detailed information about the individual requests and responses from that endpoint.

16111611

If you would like to check the latency only for specific HTTP Methods or hosts, you can filter the endpoints by selecting the filters you want. You can combine all of these filters to hone in on specific areas of your API. As you filter, the graphs will update to match your selections.

16111611

What’s Next