首页 > 解决方案 > Anthos 配置管理 Prometheus 指标

问题描述

如何为 Anthos Config Management (ACM) 启用 Prometheus 指标。版本 1.7.X。该文档不清楚,因为这些步骤中的大多数似乎都来自 ACM 文件。 https://cloud.google.com/anthos-config-management/docs/how-to/monitoring-config-sync

标签: google-cloud-platformmonitoringprometheusmetricsgoogle-anthos

解决方案


ACM 在默认端口 8675 上自行发出指标。我们不必打开该端口。这个https://cloud.google.com/anthos-config-management/docs/how-to/monitoring-config-sync文档指导我们设置新的 Prometheus。如果您已经有 Prometheus 运营商,那么您只需为 Prometheus 创建一个 serviceMonitor 来抓取 Metrics。


推荐阅读