Google云端SQL CPU监控 [英] Google Cloud SQL CPU Monitoring

查看:149
本文介绍了Google云端SQL CPU监控的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在努力在Google Cloud SQL节点上设置一些监控,但我没有看到如何执行此操作。我能够在我的Google Compute Engine实例上安装监视代理程序来监视CPU,网络等。我一直无法弄清楚如何在Cloud SQL实例上执行此操作。我有权访问这些类型的监控:


  • 存储空间使用量(GB)
  • /写入操作

  • 出口字节

  • 活动连接

  • MySQL查询

  • MySQL数据库
  • b $ b
  • InnoDB Log fsyncs(operations / sec)


我相信这些都是很好的选择,但在这一点上我想要关注的是如果我的节点在CPU / RAM方面表现出色,因为它们似乎是性能的首要措施。



如果我错过了某些东西,或者误会了我想要做的事情,欢迎提供任何建议。



感谢!

解决方案

Google有一个Stackdriver,用于记录和监控Google和AWS云基础架构。它可以监控GCP上的每一件事情。您可以创建可视化文件以在一个仪表板中监控您的Cloud SQL实例。您只需要---->
1.登录到stackdriver并转到任何现有的仪表板,如果您没有创建一个.---->
2.添加图表并选择Cloud SQL资源名称。 - >
3.从度量中选择CPU利用率并保存。您还可以监视内存,磁盘I / O,查询或服务器的增量计数以及更多事情。



如果要监视任何其他GCP计算引擎, App-Engine,Kubernetese引擎,存储桶,Bigtable或pub / sub,您只需从列表中选择适当的资源名称即可。希望你有你的答案。


I'm working on trying to setup some monitoring on a Google Cloud SQL node and am not seeing how to do it. I was able to install the monitoring agent on my Google Compute Engine instances to monitor CPU, Network, etc. I have not been able to figure out how to do so on the Cloud SQL instance. I have access to these types of monitoring:

  • Storage Usage (GB)
  • Number of Read/Write operations
  • Egress Bytes
  • Active Connections
  • MySQL Queries
  • MySQL Questions
  • InnoDB Pages Read/Written (pages/sec)
  • InnoDB Data fsyncs (operations/sec)
  • InnoDB Log fsyncs (operations/sec)

I'm sure these are great options, but at this point all I want to pay attention to is if my node is performing on a CPU/RAM standpoint as they seem to first and foremost measures for performance.

If I'm missing something, or misunderstnading what I'm trying to do, any advice is appreciated.

Thanks!

解决方案

Google has a Stackdriver which is for logging and monitoring Google and AWS cloud infrastructure. It can monitor every single thing present on GCP. You can create visualization to monitor your Cloud SQL instance in one dashboard. You just have to ----> 1. login to stackdriver and Go to any existing dashboard, If you dont have create one.----> 2. Add chart and select Cloud SQL in resource Name.----> 3. Select CPU Utilization from metric and save. You can also monitor memory, Disk I/o, Delta count of Queries or servers Up-time and many more.

if you want to monitor any other GCP Compute engine, App-Engine, Kubernetese Engine, storage bucket, Bigtable or pub/sub you just have to select appropriate resource name from list. Hope you got your answer.

这篇关于Google云端SQL CPU监控的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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