Anda dapat melihat metrik Replikasi Asinkron berikut di Cloud Monitoring:
Metrik
Deskripsi
Jumlah byte yang dikirim replikasi asinkron (disk/async_replication/sent_bytes_count)
Jumlah delta byte yang dikirim melalui jaringan lintas region.
Waktu replikasi asinkron sejak replikasi terakhir (disk/async_replication/time_since_last_replication)
Jumlah detik sejak replikasi terakhir selesai, juga dikenal sebagai toleransi durasi kehilangan data (RPO).
Memantau jumlah byte yang dikirim
Gunakan metrik Jumlah byte yang dikirim replikasi asinkron untuk membuat grafik jumlah rata-rata byte yang dikirim, yang diambil sampelnya setiap menit. Jumlah byte yang dikirim mewakili data yang ditulis oleh workload Anda ke block storage, yang memengaruhi kecepatan replikasi.
Di konsol Google Cloud , buka halaman
Cloud Monitoring > Metrics Explorer.
Pilih daftar kategori metrik aktif Disk, lalu pilih Async replication sent bytes count (disk/async_replication/sent_bytes_count).
Klik Apply.
Pada menu Transform, pilih salah satu dari opsi berikut:
Untuk melihat jumlah total byte yang dikirim, pilih None.
Untuk melihat jumlah byte yang dikirim per detik, pilih Rate.
Di bagian Filters, lakukan tindakan berikut:
Klik Add filter.
Klik di dalam kotak Label untuk melihat daftar label yang tersedia. Di bagian judul Resource labels, pilih project_id. Biarkan
nilai Perbandingan ditetapkan ke = (equals). Di kolom Nilai, ketik atau
pilih project ID Anda. Klik Done.
Klik Add filter.
Di kotak Label, pilih disk_id. Biarkan nilai Comparison ditetapkan ke = (equals). Di kolom Value, ketik atau pilih ID dari disk utama yang direplikasi.
Klik Done.
Klik More options.
Di menu Alignment function, pilih fungsi penyelarasan. Fungsi penyelarasan Mean menunjukkan jumlah rata-rata byte yang dikirim per menit, sedangkan fungsi penyelarasan Max menunjukkan jumlah byte tertinggi yang dikirim per menit.
Di menu Min alignment period, pilih periode penyelarasan. Periode penyelarasan harus minimal satu menit.
Memantau RPO
Gunakan metrik Waktu replikasi asinkron sejak replikasi terakhir untuk membuat grafik jumlah detik sejak replikasi terakhir dilakukan (RPO).
Di konsol Google Cloud , buka halaman
Cloud Monitoring > Metrics Explorer.
Pilih daftar kategori metrik aktif Disk, lalu pilih Async replication time since last replication (disk/async_replication/time_since_last_replication).
Klik Apply.
Di bagian Filters, tambahkan filter untuk project ID dan disk ID Anda:
Klik Add filter.
Klik di dalam kotak Label untuk melihat daftar label yang tersedia. Di bagian judul Resource labels, pilih project_id. Biarkan
nilai Perbandingan ditetapkan ke = (equals). Di kolom Nilai, ketik atau
pilih project ID Anda. Klik Done.
Klik Add filter.
Di kotak Label, pilih disk_id. Biarkan nilai Comparison ditetapkan ke = (equals). Di kolom Value, ketik atau pilih ID dari disk utama yang direplikasi.
Klik Done.
Klik More options.
Di menu Alignment function, pilih fungsi penyelarasan. Fungsi penyelarasan Mean menunjukkan jumlah rata-rata detik sejak replikasi terakhir dilakukan, sedangkan fungsi penyelarasan Max menunjukkan jumlah detik terbanyak sejak replikasi terakhir dilakukan.
Di menu Min alignment period, pilih periode penyelarasan. Periode penyelarasan harus minimal satu menit.
Opsional: Simpan diagram.
Langkah berikutnya
Pelajari cara menyesuaikan chat Replikasi Asinkron dengan
Metrics Explorer.
[[["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-09-03 UTC."],[[["\u003cp\u003eThis document provides instructions on how to view performance metrics for Persistent Disk Asynchronous Replication using Cloud Monitoring.\u003c/p\u003e\n"],["\u003cp\u003eYou can monitor the \u003ccode\u003eAsync replication sent bytes count\u003c/code\u003e metric to track the number of bytes sent through the cross-region network, which affects replication speed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAsync replication time since last replication\u003c/code\u003e metric allows you to monitor the Recovery Point Objective (RPO) by tracking the time in seconds since the last replication.\u003c/p\u003e\n"],["\u003cp\u003eBoth metrics require you to filter by project ID and disk ID within the Cloud Monitoring Metrics Explorer to view relevant data.\u003c/p\u003e\n"],["\u003cp\u003eThe content includes step-by-step instructions on how to set up the needed filters and alignement functions within the Metrics explorer to monitor both sent byte count and the RPO.\u003c/p\u003e\n"]]],[],null,["# Review Asynchronous Replication performance\n\n*** ** * ** ***\n\nThis document describes how to view performance metrics for\nAsynchronous Replication.\n\nTo learn more about Asynchronous Replication, see\n[About Asynchronous Replication](/compute/docs/disks/async-pd/about#performance).\n\nMetrics\n-------\n\nYou can view the following Asynchronous Replication metrics in\n[Cloud Monitoring](/monitoring/docs/monitoring-overview):\n\nMonitor sent byte counts\n------------------------\n\nUse the **Async replication sent bytes count** metric to graph the average\nnumber of byte sent, sampled every minute. The number of sent bytes represents\nthe data your workload writes to block storage, which affects the speed of\nreplication.\n\n1. In the Google Cloud console, go to the\n **Cloud Monitoring \\\u003e Metrics Explorer** page.\n\n [Go to the Metrics Explorer page](https://console.cloud.google.com/monitoring/metrics-explorer)\n2. In the **Select a metric** section, click the **Metric** menu.\n\n3. Select **Disk** (`disk`).\n\n4. Select the **Disk** active metric category list, and then select\n **Async replication sent bytes count**\n (`disk/async_replication/sent_bytes_count`).\n\n5. Click **Apply**.\n\n6. In the **Transform** menu, select one of the following:\n\n - To view the total number of sent bytes, select **None**.\n - To view the number of bytes sent per second, select **Rate**.\n7. In the **Filters** section, do the following:\n\n 1. Click **Add filter**.\n 2. Click inside the **Label** box to view the list of available labels. Under the heading **Resource labels** , select **project_id** . Leave the **Comparison** value set to `= (equals)`. In the **Value** field, type or select your project ID. Click **Done**.\n 3. Click **Add filter**.\n 4. In the **Label** box, select **disk_id** . Leave the **Comparison** value set to `= (equals)`. In the **Value** field, type or select the ID of the primary disk that is replicating.\n 5. Click **Done**.\n8. Click **More options**.\n\n9. In the **Alignment function** menu select an alignment function. The\n **Mean** alignment function shows the average number of bytes sent per minute,\n while the **Max** alignment function shows the highest number of bytes sent\n per minute.\n\n10. In the **Min alignment period** menu, select an alignment\n period. The alignment period must be at least one minute.\n\nMonitor RPO\n-----------\n\nUse the **Async replication time since last replication** metric to graph the\nnumber of seconds since the last replication was done (RPO).\n\n1. In the Google Cloud console, go to the\n **Cloud Monitoring \\\u003e Metrics Explorer** page.\n\n [Go to the Metrics Explorer page](https://console.cloud.google.com/monitoring/metrics-explorer)\n2. On the **Metrics Explorer** page, click **Add query**.\n\n3. In the **Select a metric** section, click the **Metric** menu.\n\n4. Select **Disk** (`disk`).\n\n5. Select the **Disk** active metric category list, and then select\n **Async replication time since last replication**\n (`disk/async_replication/time_since_last_replication`).\n\n6. Click **Apply**.\n\n7. In the **Filters** section, add filters for your project ID and disk ID:\n\n 1. Click **Add filter**.\n 2. Click inside the **Label** box to view the list of available labels. Under the heading **Resource labels** , select **project_id** . Leave the **Comparison** value set to `= (equals)`. In the **Value** field, type or select your project ID. Click **Done**.\n 3. Click **Add filter**.\n 4. In the **Label** box, select **disk_id** . Leave the **Comparison** value set to `= (equals)`. In the **Value** field, type or select the ID of the primary disk that is replicating.\n 5. Click **Done**.\n8. Click **More options**.\n\n9. In the **Alignment function** menu, select an alignment function. The\n **Mean** alignment function shows the average number of seconds since the last\n replication was done , while the **Max** alignment function shows the highest\n number of seconds since the last replication was done .\n\n10. In the **Min alignment period** menu, select the select an alignment\n period. The alignment period must be at least one minute.\n\n11. Optional: Save the chart.\n\nWhat's next\n-----------\n\n- Learn how to customize Asynchronous Replication chats with [Metrics Explorer](/monitoring/charts/metrics-explorer).\n- Learn more about [Asynchronous Replication](/compute/docs/disks/async-pd/about)."]]