Google Cloud Stackdriver Monitor Compute Engine Disk Usage

不问归期 提交于 2019-12-07 02:24:16

问题


I have Google compute engine instances already up and running since recently.

I have explored Google Cloud stackdriver for monitoring CPU Usage etc.

I have installed Stackdriver agent on to one of the Compute Engine instance for testing. I have explored creating new chart on dashboard, tried with various metrics.

But I could not find any metrics that can show disk usage of my instance.

Yes there is list of plugins supported by Stackdriver agent to pump custom metrics but I could not find any specific metric that measure the instance disk usage.

Please give me a pointer.

Thanks


回答1:


Volume usage is added as a metrics after you install the standard agent (no additional plugins are needed). But you need to search for the word volume not disk to find this metric when adding it to a chart.

After you install the agent for the first time it can take a few minutes before the new metrics shows up.

FYI : the list of plugins https://cloud.google.com/monitoring/agent/plugins/. Mostly they add metrics for web-servers or database servers. And you can add custom metrics : https://cloud.google.com/monitoring/custom-metrics/

Cheers!



来源:https://stackoverflow.com/questions/37716936/google-cloud-stackdriver-monitor-compute-engine-disk-usage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!