All Products
Search
Document Center

Microservices Engine:API Details

Last Updated:Oct 12, 2023

The API Details page in the Microservices Engine (MSE) console displays details of all interfaces of an application. The displayed information includes queries per second (QPS), abnormal requests, response time (RT), and concurrency. If you use Microservices Governance Enterprise Edition, you can also manage traffic protection rules of interfaces on this page. This topic describes the main features on the API Details page.

Go to the API Details page

  1. Log on to the MSE console, and select a region in the top navigation bar.

  2. In the left-side navigation pane, choose Microservices Governance > Application Governance.

  3. On the Application list page, click the resource card of the destination application.

  4. In the left-side navigation pane, click API Details.

Description

The API Details page displays the details of all interfaces of an application, including QPS, RT, and concurrency. Click the WEB service and RPC service tabs to go to the details page of different types of interfaces. The following sections describe the information that you can view on the tabs.

WEB service tab

接口详情.png
  • In the rectangle marked with 1, you can preview the lists of web interfaces on the Server and Client subtabs and the data of each interface collected in the previous 5 minutes, such as Requests, Reject Quantity, RT, and Success Rate. You can search for interfaces by resource name, filter only interfaces that are configured with protection rules, and sort interfaces based on Requests, Reject Quantity, RT, or Success Rate. If the image.png icon is displayed on the right side of an interface, the interface is configured with protection rules.

    Note

    If you select Interface Configured with Protection Rules, the interfaces that are configured with protection rules are displayed, regardless of whether the protection rules are enabled.

  • In the rectangle marked with 2, you can select subtabs to view information of the current interface and configure various rules for the interface.

    • Interface overview: allows you to view the data of the current interface based on QPS, RT, and concurrency.

    • Node details: allows you to view the data of the current interface by node. The displayed information includes QPS, RT, and concurrency.

    • Interface Flow Control: allows you to configure throttling rules for the current interface. For more information, see Configure throttling rules.

    • Concurrency Isolation: allows you to configure isolation rules for the current interface. For more information, see Configure isolation rules.

    • Hotspot Parameter Protection (HTTP Requests): allows you to configure hotspot parameter protection (HTTP requests) rules for the current interface. This subtab is available only for interfaces on the server side. For more information, see Configure hotspot parameter protection rules (HTTP requests).

    • Circuit Breaking: allows you to configure circuit breaking rules for the current interface. This subtab is available only for the interfaces on the client side. For more information, see Configure circuit breaking rules.

  • In the rectangle marked with 3, you can view relevant information on the subtab you select in 2.

  • In the rectangle marked with 4, you can select the replay time. Then, you can view the metric data during the specified period of time in the rectangles marked with 1 and 3.

    Note

    Metric data within 24 hours can be replayed. Only metric data of the current online nodes can be replayed.

Note

For Java applications that work as gateways, information displayed on the API Details page is not distinguished by service type, server, or client. The displayed information is similar to the information on the Server subtab of the WEB service tab. Route names are displayed in the rectangle marked with 1.

RPC service tab

RPC.png
  • In the rectangle marked with 1, you can preview the list of RPC interfaces on the Server and Client subtabs and the data of each interface collected at the current time, such as Requests, Reject Quantity, RT, and Success Rate. You can search for interfaces by resource name.

    Note

    In the RPC interface list, two-level information is displayed for each interface. The class name is displayed at the first level, and the method name is displayed at the second level.

  • In the rectangle marked with 2, you can select subtabs to view information about the current interface.

    • Interface overview: allows you to view the data of the current interface based on QPS, RT, and concurrency.

    • Node details: allows you to view the data of the current interface by node. The displayed information includes QPS, RT, and concurrency.

    • Interface Flow Control: allows you to configure throttling rules for the current interface. For more information, see Configure throttling rules.

    • Concurrency Isolation: allows you to configure isolation rules for the current interface. For more information, see Configure isolation rules.

    • Hotspot Parameter Protection (RPC): allows you to configure hotspot parameter protection (RPC requests) rules for the current interface. This subtab is available only for interfaces on the client side. For more information, see Configure hotspot parameter protection rules (RPC requests).

    • Circuit Breaking: allows you to configure circuit breaking rules for the current interface. This subtab is available only for the interfaces on the client side. For more information, see Configure circuit breaking rules.

  • In the rectangle marked with 3, you can view relevant information on the subtab you select in 2.

  • In the rectangle marked with 4, you can select the replay time. Then, you can view the metric data during the specified period of time in the rectangles marked with 1 and 3.

    Note

    Metric data within 24 hours can be replayed. Only metric data of the current online nodes can be replayed.