Selecting the Statistic for an Alarm Query
Select the statistic for an alarm query. The statistic is the aggregation function applied to the set of raw data points at the specified interval.
For valid statistic options in MQL expressions, see Statistic. For alarm instructions, see Creating an Alarm.
For alarm troubleshooting, see Troubleshooting Alarms. See also Creating a Basic Alarm.
For information about selecting the statistic from the Metrics Explorer page, see Selecting the Statistic 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 statistic (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 statistic (part of the MQL expression).