[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-29。"],[],[],null,["# Monitor Config Controller\n\nThis page explains how to monitor Config Controller. Config Controller\nincludes Config Connector, Config Sync and Policy Controller. Each operator\nincludes multiple metrics.\n\nThis page is for IT administrators and Operators who monitor\nthe health of deployed applications or services. To learn more about common\nroles and example tasks that we reference in Google Cloud content, see\n[Common GKE user roles and tasks](/kubernetes-engine/enterprise/docs/concepts/roles-tasks).\n\nSet up Policy Controller monitoring\n-----------------------------------\n\nAllow Policy Controller to send metrics by running this command: \n\n gcloud projects add-iam-policy-binding \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e \\\n --member=\"serviceAccount:\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e.svc.id.goog[gatekeeper-system/gatekeeper-admin]\" \\\n --role=roles/monitoring.metricWriter\n\nReplace \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e with the cluster's Google Cloud project ID.\n\nWhat's next\n-----------\n\nLearn more about options to monitor Config Connector, Config Sync and\nPolicy Controller:\n\n- [Monitoring Config Connector with Prometheus](/config-connector/docs/how-to/monitoring-prometheus)\n- [Use Config Sync metrics](/kubernetes-engine/enterprise/config-sync/docs/how-to/monitoring-config-sync)\n- [Monitor Config Sync with Google Cloud CLI](/kubernetes-engine/enterprise/config-sync/docs/how-to/config-sync-status-gcloud)\n- [Use Policy Controller metrics](/kubernetes-engine/enterprise/policy-controller/docs/how-to/policy-controller-metrics)"]]