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

Alarm Tags and Annotations

When creating alarm rules, you can set alarm rule tags and annotations. Tags are attributes that can be used to identify alarms. They are used in alarm noise reduction scenarios. Annotations are attributes that cannot be used to identify alarms. They are used in scenarios such as alarm notification and message templates.

Alarm Rule Tag Description

  • Alarm rule tags can apply to grouping rules, suppression rules, and silence rules. The alarm management system manages alarms and notifications based on the tags.
  • Each tag is in "key:value" format and can be customized. You can create a maximum of 20 custom tags. Each key and value can contain only letters, digits, and underscores (_).
  • If you set a tag when creating an alarm rule, the tag is automatically added as an alarm attribute when an alarm is triggered.
  • In a message template, the $event.metadata.key1 variable specifies a tag. For details, see Table 2.
  • If tag policies related to AOM have already been set, add alarm tags based on these policies. If a tag does not comply with the policies, tag addition may fail. Contact your organization administrator to learn more about tag policies.

Alarm Rule Annotation Description

  • Annotations are attributes that cannot be used to identify alarms. They are used in scenarios such as alarm notification and message templates.
  • Each annotation is in "key:value" format and can be customized. You can create a maximum of 20 custom annotations. Each key and value can contain only letters, digits, and underscores (_).
  • In a message template, the $event.annotations.key2 variable specifies an annotation. For details, see Table 2.

Managing Alarm Rule Tags and Annotations

You can add, delete, modify, and query alarm tags or annotations on the alarm rule page.

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane, choose Alarm Center > Alarm Rules.
  3. Click Create Alarm Rule, or locate a desired alarm rule and click in the Operation column.
  4. Manage alarm rule tags and annotations under Advanced Settings on the page for creating or modifying an alarm rule.
  5. Under Alarm Rule Tag or Alarm Rule Annotation, click and enter a key and value.
  6. Click OK to add an alarm rule tag or annotation.

    • Adding multiple alarm rule tags or annotations: Click multiple times to add alarm rule tags or annotations (max.: 20).
    • Modifying an alarm rule tag or annotation: Move the cursor to a desired alarm rule tag or annotation and click to modify them.
    • Deleting an alarm rule tag or annotation: Move the cursor to the alarm rule tag or annotation and click .