File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
articles/azure-monitor/alerts Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -627,6 +627,30 @@ The following fields describe the cause of an alert.
627
627
}
628
628
```
629
629
630
+ #### ` monitoringService ` = ` Prometheus `
631
+
632
+ ** Sample values**
633
+
634
+ ``` json
635
+ {
636
+ "alertContext" : {
637
+ "interval" : " PT1M" ,
638
+ "expression" : " sql_up > 0" ,
639
+ "expressionValue" : " 0" ,
640
+ "for" : " PT2M" ,
641
+ "labels" : {
642
+ "Environment" : " Prod" ,
643
+ "cluster" : " myCluster1"
644
+ },
645
+ "annotations" : {
646
+ "summary" : " alert on SQL availability"
647
+ },
648
+ "ruleGroup" : " /subscriptions/<subscription ID>/resourceGroups/myResourceGroup/providers/Microsoft.AlertsManagement/prometheusRuleGroups/myRuleGroup"
649
+ }
650
+ }
651
+ ```
652
+
653
+
630
654
## Next steps
631
655
632
656
- Learn more about the [ common alert schema] ( ./alerts-common-schema.md ) .
You can’t perform that action at this time.
0 commit comments