Create Alarms on Metric Extensions
You can create alarm rules to trigger alarms when metric values from your Metric Extensions cross thresholds.
Before creating an alarm, verify that the Metric Extension has collected and published metrics to the Monitoring service.
For information on how to create an alarm, see Creating a Basic Alarm. In the Metric description section, specify the values described below:
- Compartment: Select the compartment of the Managed Database from which the Metric Extension collects metrics.
- Metric namespace: Select the Monitoring service namespace configured for the Metric Extension. For new Metric Extensions, use a custom namespace. The
oracle_metric_extensions_appmgmtnamespace is retained for compatibility with legacy Metric Extensions. - Resource group: If a Monitoring resource group is configured for the Metric Extension, select that resource group.
- Metric name: Select the metric to monitor.
To monitor a specific Managed Database, in the Metric dimensions section, select resourceId as the dimension name and the database’s resource identifier as the dimension value. You can specify additional dimensions defined in the Metric Extension Template to further filter the metrics.
Specify the remaining alarm details, including the trigger conditions and notification destination, and click Create alarm.
For External Databases, you can also view alarms on Metric Extension metrics in the oracle_metric_extensions_appmgmt namespace in the Alarm definitions section on the Managed database details page when the alarms are scoped to the database. For metrics in custom namespaces, view and manage alarms on the Monitoring service’s Alarm Definitions page. For information, see Set Up Alarm Definitions.