【问题标题】:How to pull Google Cloud Platform VM metrics using Java?如何使用 Java 提取 Google Cloud Platform VM 指标?
【发布时间】:2018-10-20 16:25:13
【问题描述】:

我想编写一个 Java 程序来提取 GCP VM 指标,例如 CPU 利用率、内存利用率、磁盘 i/o、网络、磁盘利用率等。我想为每个实例提取这些信息(类似于 AWS 中的 CloudWatch) . 我已经在我的每个虚拟机上设置了 Stackdriver 代理。我不知道下一步该做什么。

【问题讨论】:

    标签: google-cloud-platform google-compute-engine google-cloud-monitoring


    【解决方案1】:

    Stackdriver 代理会将指标发送到 Stackdriver Monitoring,因此您应该使用 Stackdriver Monitoring 来访问这些数据。有一个Java client library

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-04-08
      • 1970-01-01
      • 2017-10-14
      • 2019-11-22
      • 2021-01-15
      • 2019-06-02
      • 1970-01-01
      相关资源
      最近更新 更多