Google cloud platform 我可以通过stackdriver监控api获取特定正常运行时间检查的正常运行时间检查百分比吗?
我在google cloud stackdriver中为我的实例配置了正常运行时间检查。现在我需要通过正常运行时间检查程序检查正常运行时间百分比。是否有任何api可用于相同的应用程序Google cloud platform 我可以通过stackdriver监控api获取特定正常运行时间检查的正常运行时间检查百分比吗?,google-cloud-platform,stackdriver,google-cloud-stackdriver,Google Cloud Platform,Stackdriver,Google Cloud Stackdriver,我在google cloud stackdriver中为我的实例配置了正常运行时间检查。现在我需要通过正常运行时间检查程序检查正常运行时间百分比。是否有任何api可用于相同的应用程序 我查看了文档,没有找到任何api来执行此操作。似乎有两个有趣的指标: monitoring.googleapis.com/uptime\u check/check\u passed-如果检查通过,则为True monitoring.googleapis.com/uptime\u check/request\u l
我查看了文档,没有找到任何api来执行此操作。似乎有两个有趣的指标:
- monitoring.googleapis.com/uptime\u check/check\u passed-如果检查通过,则为True
- monitoring.googleapis.com/uptime\u check/request\u latency-延迟(毫秒)
还要将其与compute.googleapis.com/instance/uptime(虚拟机运行的时间)区分开来。似乎有两个有趣的指标:
- monitoring.googleapis.com/uptime\u check/check\u passed-如果检查通过,则为True
- monitoring.googleapis.com/uptime\u check/request\u latency-延迟(毫秒)
还要将其与compute.googleapis.com/instance/uptime(虚拟机运行的时间)区分开来。您是否有其他信息?我无法理解如何从API检索所有度量数据。您是否有任何示例或示例链接?埃弗廷是有道理的,但我不能完全理解如何做到这一点。你有一些额外的信息吗?我无法理解如何从API检索所有度量数据。您是否有任何示例或示例链接?埃弗廷是有道理的,但我不能完全理解如何做到这一点。