Refer to the exhibit.
```
{
"alertPolicies": [
{
"displayName": "High CPU Alert",
"combiner": "OR",
"conditions": [
{
"displayName": "CPU usage > 80%",
"conditionThreshold": {
"filter": "metric.type=\"compute.googleapis.com/instance/cpu/utilization\" resource.type=\"gce_instance\"",
"comparison": "COMPARISON_GT",
"thresholdValue": 0.8,
"duration": "300s",
"trigger": {
"count": 1
}
}
}
]
},
{
"displayName": "High Memory Alert",
"conditions": [
{
"displayName": "Memory usage > 90%",
"conditionThreshold": {
"filter": "metric.type=\"agent.googleapis.com/memory/percent_used\" resource.type=\"gce_instance\"",
"comparison": "COMPARISON_GT",
"thresholdValue": 0.9,
"duration": "60s",
"trigger": {
"count": 1
}
}
}
]
}
]
}
```