Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Untuk memahami responsivitas layanan yang dipantau,
gambarkan metrik latensi dari pemeriksaan uptime. Demikian pula,
untuk memahami region mana yang berhasil merespons pemeriksaan uptime,
gambarkan metrik status pemeriksaan uptime.
Anda dapat menggunakan metrik uptime_check/check_passed Cloud Monitoring sebagai dasar untuk diagram yang menampilkan status pemeriksaan uptime.
Contoh berikut menggambarkan, berdasarkan lokasi, jumlah pemeriksaan yang lulus dalam periode satu menit:
Di konsol Google Cloud , buka halaman
leaderboardMetrics explorer:
Jika Anda menggunakan kotak penelusuran untuk menemukan halaman ini, pilih hasil yang subjudulnya adalah Monitoring.
Di toolbar Google Cloud konsol, pilih project Google Cloud Anda.
Untuk konfigurasi App Hub, pilih project host App Hub atau project pengelolaan folder yang mengaktifkan aplikasi.
Pada elemen Metric, luaskan menu Select a metric,
masukkan Check passed
di panel filter, lalu gunakan submenu untuk memilih jenis dan metrik resource tertentu:
Di menu Resource aktif, pilih resource yang dipantau oleh pemeriksaan waktu aktif.
Di menu Active metric categories, pilih Uptime_check.
Di menu Active metrics, pilih Check passed.
Klik Terapkan.
Nama yang sepenuhnya memenuhi syarat untuk metrik ini adalah monitoring.googleapis.com/uptime_check/check_passed.
Konfigurasi cara data dilihat.
Pada elemen Filter, luaskan menu dan pilih check_id, lalu pilih
pemeriksa tertentu.
Pada elemen Aggregation, luaskan menu pertama dan pilih
Configure aligner. Elemen Fungsi perataan dan
Pengelompokan ditambahkan.
Pada elemen Alignment function, luaskan menu dan pilih Next older.
Di elemen Grouping, luaskan menu pertama dan pilih Count true.
Karena pemeriksaan uptime dikonfigurasi untuk dijalankan setiap menit,
setiap lokasi diperkirakan akan merespons sekitar 10 kali dalam
periode penyelarasan 10 menit.
Membuat diagram latensi cek uptime
Anda dapat menggunakan metrik uptime_check/request_latency Pemantauan sebagai dasar untuk diagram latensi pemeriksaan uptime. Pilihan Anda untuk kolom pengelompokan memungkinkan Anda membuat diagram yang berbeda.
Misalnya, Anda dapat menetapkan kolom ini untuk menampilkan latensi maksimum atau untuk
menampilkan total latensi:
Di konsol Google Cloud , buka halaman
leaderboardMetrics explorer:
Jika Anda menggunakan kotak penelusuran untuk menemukan halaman ini, pilih hasil yang subjudulnya adalah Monitoring.
Di toolbar Google Cloud konsol, pilih project Google Cloud Anda.
Untuk konfigurasi App Hub, pilih project host App Hub atau project pengelolaan folder yang mengaktifkan aplikasi.
Pada elemen Metric, luaskan menu Select a metric,
masukkan Request latency
di panel filter, lalu gunakan submenu untuk memilih jenis dan metrik resource tertentu:
Di menu Resource aktif, pilih resource yang dipantau oleh pemeriksaan waktu aktif.
Di menu Active metric categories, pilih Uptime_check.
Di menu Active metrics, pilih Request latency.
Klik Terapkan.
Nama yang sepenuhnya memenuhi syarat untuk metrik ini adalah monitoring.googleapis.com/uptime_check/request_latency.
Konfigurasi cara data dilihat.
Pada elemen Filter, luaskan menu dan pilih check_id, lalu pilih
pemeriksa tertentu.
Pada elemen Aggregation, luaskan menu pertama dan pilih Mean, lalu
luaskan menu kedua dan pilih checker_location.
[[["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,["# Chart uptime-check metrics\n\nTo understand the responsiveness of the service being monitored,\nchart the latency metric of an uptime check. Similarly,\nto understand which regions are responding successfully to an uptime check,\nchart the status metric of an uptime check.\n\nThis document describes how to chart metrics generated by uptime checks by\nusing [Metrics Explorer](/monitoring/charts/metrics-explorer).\nFor information about how to save these charts to a custom dashboard, see\n[Save a chart for future reference](/monitoring/charts/metrics-explorer#save).\n\nBefore you begin\n----------------\n\nYou must have an uptime check to use these instructions. If you haven't\ncreated an uptime check, then see\n[Create public uptime checks](/monitoring/uptime-checks)\nor [Create private uptime checks](/monitoring/uptime-checks/private-checks).\n\nChart uptime-check status\n-------------------------\n\nYou can use the Cloud Monitoring `uptime_check/check_passed` metric as the basis for a chart that displays the status of an uptime check. The following example charts, by location, the number of passed checks in a one-minute window:\n\n1. In the Google Cloud console, go to the\n *leaderboard* **Metrics explorer** page:\n\n [Go to **Metrics explorer**](https://console.cloud.google.com/monitoring/metrics-explorer)\n\n \u003cbr /\u003e\n\n If you use the search bar to find this page, then select the result whose subheading is\n **Monitoring**.\n2. In the toolbar of the Google Cloud console, select your Google Cloud project. For [App Hub](/app-hub/docs/overview) configurations, select the App Hub host project or the app-enabled folder's management project.\n3. In the **Metric** element, expand the **Select a metric** menu, enter `Check passed` in the filter bar, and then use the submenus to select a specific resource type and metric:\n 1. In the **Active resources** menu, select the resource monitored by the uptime check.\n 2. In the **Active metric categories** menu, select **Uptime_check**.\n 3. In the **Active metrics** menu, select **Check passed**.\n 4. Click **Apply**.\n\n The fully qualified name for this metric is `monitoring.googleapis.com/uptime_check/check_passed`.\n4. Configure how the data is viewed.\n 1. In the **Filter** element, expand the menu and select **check_id**, and then select a specific checker.\n 2. In the **Aggregation** element, expand the first menu and select **Configure aligner** . The **Alignment function** and **Grouping** elements are added.\n 3. In the **Alignment function** element, expand the menu and select **Next older**.\n 4. In the **Grouping** element, expand the first menu and select **Count true**.\n\n For more information about configuring a chart, see\n [Select metrics when using Metrics Explorer.](/monitoring/charts/metrics-selector)\n\nBecause the uptime check is configured to execute every minute, it is expected that every location responds approximately 10 times in a 10-minute alignment period.\n\nChart uptime-check latency\n--------------------------\n\nYou can use the Monitoring `uptime_check/request_latency` metric as a basis for uptime-check latency charts. Your choices for the grouping fields let you create different charts. You can, for example, set these fields to display the maximum latency or to display the total latency:\n\n1. In the Google Cloud console, go to the\n *leaderboard* **Metrics explorer** page:\n\n [Go to **Metrics explorer**](https://console.cloud.google.com/monitoring/metrics-explorer)\n\n \u003cbr /\u003e\n\n If you use the search bar to find this page, then select the result whose subheading is\n **Monitoring**.\n2. In the toolbar of the Google Cloud console, select your Google Cloud project. For [App Hub](/app-hub/docs/overview) configurations, select the App Hub host project or the app-enabled folder's management project.\n3. In the **Metric** element, expand the **Select a metric** menu, enter `Request latency` in the filter bar, and then use the submenus to select a specific resource type and metric:\n 1. In the **Active resources** menu, select the resource monitored by the uptime check.\n 2. In the **Active metric categories** menu, select **Uptime_check**.\n 3. In the **Active metrics** menu, select **Request latency**.\n 4. Click **Apply**.\n\n The fully qualified name for this metric is `monitoring.googleapis.com/uptime_check/request_latency`.\n4. Configure how the data is viewed.\n 1. In the **Filter** element, expand the menu and select **check_id**, and then select a specific checker.\n 2. In the **Aggregation** element, expand the first menu and select **Mean** , and then expand the second menu and select **checker_location**.\n\n For more information about configuring a chart, see\n [Select metrics when using Metrics Explorer.](/monitoring/charts/metrics-selector)\n\nWhat's next\n-----------\n\n- [Create and manage custom dashboards](/monitoring/charts/dashboards)\n- [Uptime check metrics](/monitoring/api/metrics_gcp_i_o#monitoring/uptime_check/check_passed)"]]