All Products
Search
Document Center

Alibaba Cloud Service Mesh:Diagnose ASM instances

Last Updated:Mar 26, 2024

Service Mesh (ASM) allows you to diagnose ASM instances for potential risks. The check items include the versions of data-plane components, service ports, associated services, labels of applications and versions, destination addresses, and virtual service conflicts. This feature helps you manage communication between services, detect potential issues in a timely manner, and improve service reliability, performance, and security. This topic describes how to diagnose ASM instances.

Procedure

  1. Log on to the ASM console. In the left-side navigation pane, choose Service Mesh > Mesh Management.

  2. On the Mesh Management page, click the name of the ASM instance. In the left-side navigation pane, choose ASM Instance > Mesh Diagnosis.

  3. Perform the following operations based on the version of your ASM instance:

    • For a version earlier than V1.17.2.10: On the Mesh Diagnosis page, click Run.

    • For V1.17.2.10 and later: On the Mesh Diagnosis page, deselect the namespaces that you do not want to diagnose and click Run.

    Note
    • No diagnosis results will be generated for the deselected namespaces.

    • If the ASM instance has been diagnosed before, the Mesh Diagnosis page shows the results of the last diagnosis. You can click Run to diagnose the ASM instance again.

    The diagnosis results are displayed in the Diagnosis results section. If any unexpected diagnosis results appear, you can follow the suggestions in the Details column to handle them. You can also click Obtain Intelligent Diagnostics Suggestions in the Details column to obtain more detailed diagnosis suggestions generated by ASM AI Diagnostics Assistant (alpha).

    Diagnosis result

    Description

    正常

    Indicates that this item passes the diagnostics.

    image.png

    Indicates a suggestion-level issue, which does not affect the service running.

    image.png

    Indicates a warning-level issue, which may result in unexpected behaviors of the ASM instance.

    异常

    Indicates an error-level issue, which may cause some ASM features to fail.

References

  • ASM allows you to enable control-plane log collection and log-based alerting. This feature helps you detect and resolve potential issues in a timely manner. For more information, see Enable control-plane log collection and log-based alerting.

  • ASM provides asmctl to help you diagnose the configurations of ASM instances. For more information about how to install and use this diagnostic tool, see Install and use asmctl.

  • ASM allows you to enable audit alerts for changes to ASM resources such as virtual services and destination rules. Once enabled, alerts are sent to alert contacts in a timely manner for changes to important resources. For more information, see Configure audit alerts for operations on ASM resources.