Tagging an Alarm When Updating

Add metadata to an alarm in Monitoring when you update it.

    1. On the Alarm Definitions list page, select the alarm that you want to work with. If you need help finding the list page or the alarm, see Listing Alarms.
    2. Go to Actions and then select Edit alarm.
    3. On the Edit alarm page, under Tags (optional), configure tags:
      • Tag namespace: The container of the tag that you want (for defined tags).
      • Tag key: The name of the tag that you want.
      • Value: The value that you want to assign to the selected tag.
      • + Additional tag: Add a tag name-value pair.
    4. Select Save alarm.
  • Use the oci monitoring alarm update command and required parameters to tag an alarm when you update it:

    oci monitoring alarm update [--defined-tags | --freeform-tags] <tags> [...]

    For a complete list of parameters and values for CLI commands, see the Command Line Reference for Monitoring.

  • Run the UpdateAlarm operation to tag an alarm when you update it. Include the definedTags and freeformTags attributes and their values.