Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Dokumen ini memberikan link ke berbagai jenis kebijakan pemberitahuan. Konten
tertaut dapat membantu Anda membuat kebijakan pemberitahuan
yang diperlukan untuk memantau layanan.
Jika menggunakan Cloud Monitoring API, sebaiknya gunakan Google Cloud CLI atau library klien untuk membuat kebijakan pemberitahuan. Jika menggunakan Google Cloud CLI, Anda akan meneruskan file JSON yang berisi definisi kebijakan.
Untuk informasi selengkapnya, lihat
Membuat kebijakan pemberitahuan menggunakan API.
Setiap entri dalam daftar berikut berisi deskripsi singkat dan dua link.
Jika Anda menggunakan Cloud Monitoring API dan ingin mengetahui informasi selengkapnya,
klik JSON.
Jika Anda menggunakan Google Cloud konsol, klik console:
Membandingkan nilai metrik dengan nilai minimum:
JSON, konsol
Membandingkan rasio perubahan nilai metrik dengan nilai minimum:
JSON, konsol
Membuat pemberitahuan saat metrik tidak ada:
JSON, konsol
Membandingkan nilai metrik yang diperkirakan dengan nilai minimum:
JSON, konsol
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-28 UTC."],[],[],null,["# Summary of example alerting policies\n\nThis document provides links to different types of alerting policies. The\nlinked content might help you create the alerting policies\nthat you need to monitor your services.\n\nIf you use the Cloud Monitoring API, we recommend that you use the Google Cloud CLI\nor client libraries to create your alerting policies. If you use the\nGoogle Cloud CLI, you pass to it a JSON file that contains the policy definition.\nFor more information, see\n[Create alerting policies by using the API](/monitoring/alerts/policies-in-api).\n\nEach entry in the following list contains a brief description and two links.\nIf you use the Cloud Monitoring API and want more information,\nthen click on `JSON`.\nIf you use the Google Cloud console, then click on `console`:\n\n- Compare value of a metric to a threshold: [JSON](/monitoring/alerts/policies-in-json#json-metric-threshold), [console](/monitoring/alerts/using-alerting-ui)\n- Compare rate of change of metric's value to a threshold: [JSON](/monitoring/alerts/policies-in-json#json-rate-of-change), [console](/monitoring/alerts/using-alerting-ui#rate-of-change)\n- Create alert on metric absence: [JSON](/monitoring/alerts/policies-in-json#json-metric-absence), [console](/monitoring/alerts/metric-absence)\n- Compare value of forecasted metric value to a threshold: [JSON](/monitoring/alerts/policies-in-json#json-forecast), [console](/monitoring/alerts/metric-forecast)\n- Monitor a dynamic group of resources: [JSON](/monitoring/alerts/policies-in-json#json-group-aggr), [console](/monitoring/alerts/monitor-resource-group)\n- Create alert for an uptime check: [JSON](/monitoring/alerts/policies-in-json#json-uptime), [console](/monitoring/uptime-checks/uptime-alerting-policies)\n- Monitor count of VM processes: [JSON](/monitoring/alerts/policies-in-json#json-process-health), [console](/monitoring/alerts/monitor-process-count)\n- Compare a ratio of metrics to a threshold: [JSON](/monitoring/alerts/policies-in-json#json-ratio), [console](/monitoring/mql/examples#qlx-ratios)\n- Monitor quota metrics: [JSON](/monitoring/alerts/using-quota-metrics) , [console](/monitoring/alerts/using-quota-metrics)"]]