data class AlarmPrometheusArgs(val annotations: Output<Map<String, String>>? = null, val level: Output<String>? = null, val promQl: Output<String>? = null, val times: Output<Int>? = null) : ConvertibleToJava<AlarmPrometheusArgs>
The annotations of the Prometheus alert rule. When a Prometheus alert is triggered, the system renders the annotated keys and values to help you understand the metrics and alert rule.
The PromQL query statement. Note: The data obtained by using the PromQL query statement is the monitoring data. You must include the alert threshold in this statement.
The number of consecutive triggers. If the number of times that the metric values meet the trigger conditions reaches the value of this parameter, CloudMonitor sends alert notifications.