[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[],[],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)"]]