All Products
Search
Document Center

Microservices Engine:AI diagnostics of cloud-native gateways

Last Updated:Mar 27, 2024

If an HTTP status code such as 404 or 503 is returned when you use a cloud-native gateway of Microservices Engine (MSE), you can use the AI diagnostics tool provided for the cloud-native gateway to troubleshoot issues. This topic describes how to use the AI diagnostics tool of cloud-native gateways.

Procedure

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

  2. In the left-side navigation pane, choose Cloud-native Gateway > Gateways. On the Gateways page, click the name of the gateway.

  3. In the left-side navigation pane, click AI Diagnostics.

  4. On the AI Diagnostics page, configure the filtering parameters, select a time range, and then click Submit.

    Note

    Only the first 20 error logs that match the search criteria are displayed.

    Parameter

    Description

    Instance

    Select the name of the cloud-native gateway.

    Error Code

    Enter the HTTP status code in the response. The HTTP status code must comply with the HTTP status code specifications. You can also directly select a common status code.

    Domain Name

    Select a domain name that is associated with the gateway on the Domain Names page.

    Request Path

    Enter the value of the Path field in the HTTP request.

    Routing Rule Name

    Select a routing rule.

    Request ID

    Enter a request ID.

    Custom Time

    Select a custom time range.

    Note

    Error logs within the previous three days can be queried.

  5. View the cause and the solution to this issue.