Selecting the Interval for an Alarm Query
Select the interval, or time window, for querying metric data in an alarm in Monitoring.
For valid interval options in MQL expressions, see Interval (Monitoring Query Language (MQL) Reference).
For alarm troubleshooting, see Troubleshooting Alarms. See also Creating a Basic Alarm.
For information about selecting the interval from the Metrics Explorer page, see Selecting the Interval for a Query.
Use the oci monitoring alarm update command and required parameters to update an alarm. Use the
--query-text
parameter to select the interval (part of the MQL expression).oci monitoring alarm update --query-text <mql_expression> [...]
For a complete list of parameters and values for CLI commands, see the Command Line Reference for Monitoring.
Run the UpdateAlarm operation to update an alarm. Use the
query
attribute to select the interval (part of the MQL expression).