{ "displayName": "Unit Test Policy 1", "documentation": { "content": "Unit Test alertman validation", "mimeType": "text/markdown" }, "userLabels": { "managed": "true", "policy-owner": "observability", "severity": "critical", "unit-test": "test" }, "conditions": [ { "displayName": "Prometheus Target - prometheus/request_total/counter", "conditionThreshold": { "filter": "resource.type = \"prometheus_target\" AND metric.type = \"prometheus.googleapis.com/request_total/counter\"", "aggregations": [ { "alignmentPeriod": "300s", "perSeriesAligner": "ALIGN_RATE" } ], "comparison": "COMPARISON_GT", "thresholdValue": 2, "duration": "0s", "trigger": { "count": 1 } } } ], "combiner": "OR", "enabled": false, "notificationChannels": [ "email TH" ], "alertStrategy": { "autoClose": "604800s" } }