Help Center/ Application Service Mesh/ User Guide/ Using AOM to Monitor ASM
Updated on 2026-11-12 GMT+08:00

Using AOM to Monitor ASM

Scenarios

After ASM is installed, alarm rules are not configured by default for key mesh components (such as istiod, istio-ingressgateway, istio-egressgateway, sidecar, and istio-operator). If CPU or memory usage of a component becomes abnormal, you may not detect the fault in time, allowing its impact to grow.

This section describes how to configure CPU and memory usage alarms for key ASM components in AOM, so that you can detect and quickly locate faults.

Constraints

  • The container name in the filter criteria must match the name of the deployed ASM component container. You can view the available values in the drop-down list on the metric browsing page. (This example uses the container memory usage metric.)
  • Set the alarm threshold (90% in this example) based on your actual service scenario and container resource quota.

Prerequisites

  • ASM has been deployed and is running properly.
  • AOM has been enabled and a Prometheus instance is available. For details, see Creating a Prometheus Instance.
  • UniAgent has been installed. UniAgent itself does not collect metric data. Operations data is collected by add-ons. You can install the required add-on (for example, ICAgent) from the AOM Access Center and create a metric data collection task.

Procedure

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane, choose Metric Browsing.
  3. Choose the Prometheus instance Prometheus_AOM_Default.
  4. Ensure that Interaction and Multiple Metrics are selected.
  5. In the query settings area, configure the parameters listed in the table below.

    Table 1 Monitoring container memory and CPU usage

    Parameter

    Example Value

    Description

    Metric

    • aom_container_memory_workingset_usage
    • aom_container_cpu_usage

    Container memory WorkingSet usage and container CPU usage. For details, see Monitoring CCE Metrics.

    Statistical Period

    1 minute

    For details, see "Statistical Period" in Creating an AOM Metric Alarm Rule.

    Statistic

    Avg

    For details, see "Statistical Mode" in Creating an AOM Metric Alarm Rule.

    Time Range

    Last 15 minutes

    For details, see "Time Range" in Creating an AOM Metric Alarm Rule.

  6. Add filter conditions. Add the following three container name filter criteria in sequence, joined by the OR operator.

    Table 2 Filter criteria

    Condition

    Field

    Operator

    Value

    Description

    Condition 1

    Container name

    =

    istio-operator

    Container name of the istio-operator component.

    CAUTION:

    This component is available only in ASM v1.18 and earlier versions.

    Condition 2 (OR)

    Container name

    =

    discovery

    Container name of the istiod component. istiod is a core ASM control plane component responsible for service discovery, configuration delivery, and certificate management.

    Condition 3 (OR)

    Container name

    =

    istio-proxy

    Container name of the istio-ingressgateway, istio-egressgateway, or sidecar component. These data plane components handle traffic proxying and governance.

  7. Check the monitoring results. After the query completes, the system displays a line chart and a data list. The line chart shows the metric trend of each container within the selected time range, and the data list shows the specific metric values.
  8. Create an alarm rule.

    1. At the bottom of the metric browsing page, click Create Alarm Rule. The Create Alarm Rule side panel is displayed.
    2. Configure the basic alarm information and alarm conditions. The system automatically carries over the metrics and filter criteria configured in steps 5 and 6. Set the alarm triggering rules by referring to the following table.
      Table 3 Alarm rule parameters

      Category

      Parameter

      Example Value

      Description

      Alarm conditions

      Metric

      • aom_container_memory_workingset_usage
      • aom_container_cpu_usage

      Container memory WorkingSet usage and container CPU usage. For more metrics, see Monitoring CCE Metrics.

      Statistical Period

      1 minute

      For details, see Creating an AOM Metric Alarm Rule.

      Conditions

      Container name = istio-operator OR discovery OR istio-proxy

      • Monitors the container memory usage of core ASM components.
      • Monitors the container CPU usage of core ASM components.

      Rule

      Avg > 90%

      For details, see "Rule" in Creating an AOM Metric Alarm Rule. Configure the threshold based on the actual service scenario and container resource quota.

      Trigger Condition

      Consecutive Periods: 3

      An alarm is triggered when the alarm conditions are met for three consecutive periods (3 minutes). This prevents false alarms caused by instantaneous fluctuation. For details, see Creating an AOM Metric Alarm Rule.

      Alarm Severity

      Critical

      For details, see "Alarm Severity" in Creating an AOM Metric Alarm Rule.

    3. Configure advanced settings.
      Table 4 Advanced settings

      Category

      Parameter

      Example Value

      Description

      Check interval

      Check Interval

      Custom interval

      For details, see "Check Interval" in Creating an AOM Metric Alarm Rule.

      Custom interval

      1 minute

      For details, see Creating an AOM Metric Alarm Rule.

      Consecutive periods

      Consecutive Periods

      1

      For details, see "Consecutive Periods" in Creating an AOM Metric Alarm Rule.

      Clearance condition

      Alarm Clearance

      Alarms are cleared when the alarm conditions are not met.

      For details, see "Alarm Clearance" in Creating an AOM Metric Alarm Rule.

      No-data processing

      Action Taken for Insufficient Data

      Action to be taken when no metric data is generated or metric data is insufficient

      For details, see "Action Taken for Insufficient Data" in Creating an AOM Metric Alarm Rule.

      Disabled

      Deselected

      For details, see Creating an AOM Metric Alarm Rule.

      Tags

      Tags

      (Optional) Add custom tags as needed.

      For details, see "Tags" in Creating an AOM Metric Alarm Rule.

      Resource type

      resource_type

      (Optional)

      Resource type tag, which identifies the resource type associated with the alarm.

    4. Confirm the configuration and click OK.

  9. Verify the alarm configuration.

    After the alarm rule is created, the system automatically checks the container memory usage of core ASM components at the configured check frequency (every minute).

    • Memory alarm triggering condition: A critical alarm is triggered when the average memory usage of the istio-operator, discovery, or istio-proxy container exceeds 90% for three consecutive minutes.
    • Memory alarm clearance condition: The alarm is automatically cleared when the memory usage falls below 90% and the alarm conditions are not met for one consecutive period.
    • CPU alarm triggering condition: A major alarm is generated when the average CPU usage of any of the istio-operator, discovery, or istio-proxy containers exceeds 90% for three consecutive minutes.
    • CPU alarm clearance condition: The alarm is automatically cleared when the CPU usage falls below 90% and the alarm conditions are not met for one consecutive period.

    In the navigation pane, choose Alarm Center > Alarm Rules. In the rule list, verify that the alarm rule is enabled.