Listing Metric Stream Status in an Alarm
List the status of each metric stream in an alarm in Monitoring. A metric stream corresponds to a set of dimension key-value pairs.
Ensure that the alarm is configured for split notifications (Split notifications per metric stream). Viewing states of metric streams is available only for alarms with this configuration.
Monitoring stops tracking metric streams associated with RESET
messages. For more information about message types, see Message Types.
Messages are sent at the time the alarm transitions, either collectively for all metric streams or individually per metric stream. For more information about messages sent, see Message Types. For a scenario using individual messages per metric stream, see Scenario: Split Messages by Metric Stream.
For alarm troubleshooting, see Troubleshooting Alarms.
The Metric streams status dialog box is displayed, listing the current state (Firing or OK) for each metric stream that transitioned to another alarm state.
Use the oci monitoring alarm-dimension-states-collection retrieve-dimension-states command and required parameters to list status of each metric stream in an alarm:
oci monitoring alarm-dimension-states-collection retrieve-dimension-states [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference for Monitoring.
Run the RetrieveDimensionStates operation to list the status of each metric stream in an alarm.