Tagging an Alarm When Updating

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

    1. Open the navigation menu and click Observability & Management. Under Monitoring, click Alarm Definitions.
    2. Click the name of the alarm that you want.
    3. On the alarm details page, click Actions and then select Edit alarm.
    4. 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.
      • X: Remove a tag name-value pair.
    5. Click 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.