Updated on 2025-01-03 GMT+08:00

Creating a Masking Rule

Scenarios

This section describes how to create a masking rule.

Procedure

  1. Log in to the management console.
  2. Click Service List in the upper left corner and select Cloud Eye.
  3. Choose Alarm Management > Alarm Masking.
  4. In the upper right corner of the page, click Create Masking Rule.
  5. On the displayed page, configure parameters as prompted.
    Figure 1 Create Masking Rule
    Table 1 Parameters

    Parameter

    Description

    Name

    Specifies the name of a masking rule.

    Resource Type

    Specifies the service name to which the masking rule is applied.

    Dimension

    Specifies the dimension name of the metric corresponding to the masking rule.

    Resource

    Select the object to be masked.
    NOTE:

    A maximum of 100 resources of the service can be added at a time.

    Alarm Masking Duration

    Specifies the time when the masking rule takes effect.
    • Time and Date: The masking rule takes effect within the specified time range.
    • Date: The masking rule takes effect in a fixed time range every day. You can also configure the effective date range when the masking rule takes effect. For example, if the effective date is 2022-12-01-2022-12-31 and the effective time is 08:00-20:00, the masking rule takes effect from 10:00-11:00 every day from December 1, 2022 to December 31, 2022.
    • Permanent: The masking rule takes effect permanently.
  6. Click OK.

If you select a resource to be masked, all metrics of the resource in this dimension will be masked.