Chapter 34. Top Applications analytics graph

The Top Applications analytics graph provides developers with a tool for optimizing API performance and gaining insights into usage patterns. Developers can identify high-performing applications, understand real-time metrics, and make data-driven decisions to enhance the overall API experience.

The Top Applications analytics graph in Products > [Your_product_name] > Analytics > Top Applications shows data during periods for the time zone configured in the 3scale Admin Portal account. Top applications are retrieved based on fixed periods:

  • The last 24 hours
  • The last 7 days
  • The last 30 days
  • Date ranges, for example: from 09/27/2023 until 10/25/2023

If you search, for example using 05/17/2023, the resulting graph shows the usage from 01/01/2023 to 12/31/2023. This is the the calendar range which most closely fits the calendar period chosen by the user and the graph displayed is according to that calendar period.

When checking Top Applications analytics there are 2 things to bear in mind:

  • Top applications are retrieved based on fixed calendar period (day/week/month/year). The period is shown under the chart.

    Note: Between midnight 04/30/2023 and midnight 05/31/2023 means: from 2023/05/01 00:00:00 inclusive to 2023/06/01 00:00:00 exclusive, that is, until 2023/05/31 23:59:59 inclusive.

  • The actual usage for the applications shown in the statistics are based on the user-selected period, not the calendar period.

Therefore, sometimes there might be a situation where an application is displayed in the top applications view because it has a high usage in the calendar period, but has 0 usage for the actual selected period by the user.

Example

  1. The user enters a date range using the calendar: from 10/25/2023 until 10/27/2022.
  2. Based on that date range, a period is selected that matches the user-selected date range as closely as possible. This must comprise a single granularity, for example, 1 calendar day, 1 calendar month.
  3. The data store is queried for the top applications in that period: 10/25/2023 to 10/27/2023.
  4. For the list of top applications returned, the usage is displayed using the users original date range entered: 10/25/2023 to 10/27/2023.