This page explains how to monitor Config Controller. Config Controller
includes Config Connector, Config Sync, and Policy Controller
([Deprecated](https://docs.cloud.google.com/kubernetes-engine/docs/deprecations/policy-controller.md.txt)). Each
operator includes multiple metrics.

This page is for IT administrators and Operators who monitor
the health of deployed applications or services. To learn more about common
roles and example tasks that we reference in Google Cloud content, see
[Common GKE user roles and tasks](https://docs.cloud.google.com/kubernetes-engine/enterprise/docs/concepts/roles-tasks.md.txt).

## Set up Policy Controller monitoring

Allow Policy Controller to send metrics by running this command:

```bash
gcloud projects add-iam-policy-binding PROJECT_ID \
  --member="serviceAccount:PROJECT_ID.svc.id.goog[gatekeeper-system/gatekeeper-admin]" \
  --role=roles/monitoring.metricWriter
```

Replace `PROJECT_ID` with the cluster's Google Cloud project ID.

## What's next

Learn more about options to monitor Config Connector, Config Sync and
Policy Controller:

- [Monitoring Config Connector with Prometheus](https://docs.cloud.google.com/config-connector/docs/how-to/monitoring-prometheus.md.txt)
- [Use Config Sync metrics](https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/monitoring-config-sync.md.txt)
- [Use Policy Controller metrics](https://docs.cloud.google.com/kubernetes-engine/policy-controller/docs/how-to/policy-controller-metrics.md.txt)