Adding a Dimension-Specific Alarm Suppression

Create a dimension-specific suppression of an alarm in Monitoring.

Note

Dimension-specific suppressions are available for alarms that are configured for split messages only. See Scenario: Split Messages by Metric Stream.

You can add a dimension-specific suppression to a single alarm. A dimension-specific suppression can't be added to multiple alarms at the same time.

See also Adding an Alarm-wide Suppression.

To remove a dimension-specific suppression, see Removing a Dimension-Specific Alarm Suppression.
  • Tagging alarm suppressions isn't available in the Console. To tag a new alarm suppression, use the SDK, CLI, or API.
    1. Open the navigation menu and click Observability & Management. Under Monitoring, click Alarm Definitions.
      The page lists alarms in the indicated compartment. Suppression status is indicated for each alarm.
    2. Click the name of the alarm that you want to suppress.
    3. On the alarm details page, click Edit alarm suppression.
    4. In the Edit alarm suppression panel, provide the following values:
      • Start time: The date and time to start the suppression. The default is the current time. The value must be within 90 days of the current time. If you're editing an existing suppression, the field shows the start time of that suppression.
      • End time: The date and time to end the suppression. The default is one hour from the current time. The value must be within 90 days of the current time. If you're editing an existing suppression, the field shows the end time of that suppression.
      • Display name (dimension-specific suppression only): User-friendly name for the suppression. Avoid entering confidential information.
      • Suppression description: Optional description of the suppression.
      • Suppress per Dimension: Select this option for a dimension-specific suppression of the alarm.
      • Dimension name: Select the name of the dimension that you want to suppress notifications for. For example, select resourceId.
      • Dimension value: Select the value that you want to suppress notifications for. For example, the OCID for a compute instance. (Only one value can be specified.)
      • To add another dimension-specific suppression, click Additional dimension.
    5. Click Add suppressions.
  • Use the oci monitoring alarm-suppression create command and required parameters to create a dimension-specific alarm suppression:

    oci monitoring alarm-suppression create [OPTIONS]

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

  • Run the CreateAlarmSuppression operation to create a dimension-specific alarm suppression.