Google Cloud Stackdriver Monitor计算引擎磁盘使用率 [英] Google Cloud Stackdriver Monitor Compute Engine Disk Usage

查看:115
本文介绍了Google Cloud Stackdriver Monitor计算引擎磁盘使用率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自最近以来,我已经启动了Google计算引擎实例。

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

我探索了Google Cloud堆栈驱动程序来监控CPU使用率等。

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

我已将Stackdriver代理安装到Compute Engine实例之一上进行测试。我曾尝试在仪表板上创建新图表,并尝试了各种指标。

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.

是的,有Stackdriver agent支持的插件列表,用于抽取自定义指标,但我找不到任何可衡量实例磁盘使用情况的具体指标。

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.

请给我一个指针。

谢谢

推荐答案

在安装标准代理后,将使用量作为指标添加(不需要其他插件)。但是,当您将其添加到图表中时,需要搜索单词 volume 而不是 disk 来找到该指标。

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.

仅供参考:插件列表 https://cloud.google.com/monitoring/agent/plugins/ 。通常,它们为Web服务器或数据库服务器添加指标。您还可以添加自定义指标: https://cloud.google.com/monitoring/custom-metrics /

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/

干杯!

这篇关于Google Cloud Stackdriver Monitor计算引擎磁盘使用率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆