本頁面列出 Memorystore for Memcached 可用的指標,並說明各指標追蹤的內容。這些指標可在Google Cloud 控制台和 Cloud Monitoring 中使用。
如要瞭解如何使用 Cloud Monitoring 查看指標,請參閱「監控 Memcached 執行個體」。
Memcached 指標
Cloud Monitoring 指標名稱 | Google Cloud 主控台指標名稱 | 完整端點網址 | 說明 |
---|---|---|---|
有效連線 | 有效連線 | memcache.googleapis.com/node/active_connections | 連線至 Memcached 節點的有效用戶端連線數量。 |
CPU 使用率百分比 | CPU 使用率百分比 | memcache.googleapis.com/node/cpu/utilization | 各 Memcached 節點的 CPU 使用率百分比。 |
CPU 使用時間 | CPU 使用時間 | memcache.googleapis.com/node/cpu/usage_time | Memcached 程序的 CPU 使用時間,依模式分組 (例如使用者/核心)。 |
移除數 | 移除數 | memcache.googleapis.com/node/eviction_count | 從 Memcached 節點中淘汰的項目數量。 |
命中率 | 命中率 | memcache.googleapis.com/node/hit_ratio | 排除集合運算後,Memcached 節點的快取命中與快取遺漏比率。以百分比回報。 |
項目 | 項目 | memcache.googleapis.com/node/items | 儲存在 Memcached 節點中的項目數量。 |
記憶體用量 |
|
memcache.googleapis.com/node/cache_memory | 叢集中所有節點的記憶體用量,按下列項目細分:
|
作業數 |
|
memcache.googleapis.com/node/operation_count | 傳送至 Memcached 節點的作業數量,按回應類型細分:
|
已接收的位元組 | 已接收的位元組 | memcache.googleapis.com/node/received_bytes_count | Memcached 節點從網路接收的記憶體位元組數。這些是來自用戶端 VM 的 Memcached 要求。 |
已傳送的位元組 | 已傳送的位元組 | memcache.googleapis.com/node/sent_bytes_count | Memcache 節點傳送至網路的記憶體位元組數。以下是 Memcache 回應。 |
系統記憶體使用率 | 系統記憶體使用率 | memcache.googleapis.com/node/memory/utilization | 顯示快取和記憶體額外負載中項目使用了多少百分比的系統記憶體。詳情請參閱「系統記憶體使用率」。 |
運作時間 | 運作時間 | memcache.googleapis.com/node/uptime | Memcached 節點已啟動多久 (以秒為單位)。 |
已知問題
- 針對
operation_count
指標,gat/gats
指令目前不會顯示在 Google Cloud 控制台或 Cloud Monitoring 中。OSS Memcached 目前不會更新gat/gats
上的get
計數器。 - 對於
operation_count
指標,目前不會回報touch
指令。 - 針對
operation_count
指標,cas
作業會在set
作業下方回報。
後續步驟
- 監控 Memcached 執行個體。
- 查看 Memcached 執行個體的稽核記錄。