Cloud Monitoring 会自动收集和存储 Parallelstore 实例的信息。您可以使用 Cloud Monitoring 为一系列指标绘制图表并进行监控。
系统会自动为 Parallelstore 启用 Cloud Monitoring。您可以免费收集数据或在Google Cloud 控制台中查看指标。API 调用可能会产生费用;如需了解价格详情,请参阅 Cloud Monitoring 价格。
所需 IAM 角色
您必须具有 Monitoring Viewer (roles/monitoring.viewer
) 角色或等效权限才能查看 Cloud Monitoring 中的指标。
了解如何授予 IAM 角色。
查看指标
如需在 Cloud Monitoring 中查看 Parallelstore 指标,请执行以下操作:
前往 Google Cloud 控制台中的 Metrics Explorer 页面。
按照使用 Metrics Explorer 创建图表中的说明选择和显示指标。
基于指标设置提醒
如需在 Cloud Monitoring 中查看有关 Parallelstore 指标的提醒或创建新的提醒政策,请执行以下操作:
前往 Google Cloud 控制台中的提醒页面。
请按照配置提醒政策和通知中的说明操作。
资源详情
受监控的资源名称:parallelstore.googleapis.com/instance
此资源对应于单个 Parallelstore 实例。
指标详细信息
系统每 60 秒对数据进行一次采样。采样后,数据最多可能需要 180 秒才会显示。
指标名称都以 parallelstore.googleapis.com/instance/
开头。例如 parallelstore.googleapis.com/instance/available_capacity_bytes
。
指标 | 指标名称 | 说明 |
---|---|---|
可用容量 | available_capacity_bytes
|
可供使用的可用空间所占的百分比。 |
已使用的可用容量 | used_capacity_bytes
|
当前已使用的可用空间百分比。 |
总可用容量 | total_capacity_bytes
|
相应 Parallelstore 实例的总容量(以字节为单位)。 |
吞吐量随时间的变化 | transferred_byte_count
|
一段时间内读取的字节数和写入的字节数。 |
不同时间段的 IOPS | read_ops_count
|
任何客户端针对相应实例执行的读取操作次数。 |
不同时间段的 IOPS | write_ops_count
|
任何客户端针对此实例的写入操作次数。 |
实例故障 | instance_failure
|
如果实例处于永久性失败状态,此指标会报告 true ;否则会报告 false 。 |