Selecting a Resource Group in an Alarm Query
Limit returned metric data by matching a resource group when querying custom metric data for an alarm in Monitoring.
Resource groups are available with custom metrics.
A blank or null value for Resource group returns only metric data that doesn't have a resource group.
For alarm troubleshooting, see Troubleshooting Alarms. See also Creating a Basic Alarm.
- For information about selecting a resource group from the Metrics Explorer page, see Selecting a Resource Group in a Query. 
- Use the oci monitoring alarm update command and required parameters to update an alarm. Use the - --resource-groupparameter to select a resource group for the alarm query.- oci monitoring alarm update --resource-group <resource_group_name> [...]- 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 - resourceGroupattribute to select a resource group for the alarm query.