Creating an alarm query in OCI Monitoring involves MQL:
Invalid: You must specify a resource group (D): Resource groups (e.g., groupBy(resourceId)) are optional for aggregating metrics across streams; alarms can function without them.
Why A, B, and C are valid:
A: A statistic (e.g., max, avg) is required to process metric data.
B: An interval (e.g., [1m]) defines the time window, mandatory for evaluation.
C: A metric (e.g., CpuUtilization) is the core of the query.
Resource groups enhance, but aren’t required for, alarms.
[Reference:MQL for Alarms, ]
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit