> [!CAUTION]
> You are currently viewing version 1.4 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. For more information, see [Supported versions](https://docs.cloud.google.com/apigee/docs/hybrid/supported-platforms.md.txt#supported-versions).

<button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">Version 1.4 (unsupported)</button>

- Supported versions:
- [v1.17 (latest)](https://docs.cloud.google.com/apigee/docs/hybrid/v1.17/metrics-enable.md.txt)
- [v1.16](https://docs.cloud.google.com/apigee/docs/hybrid/v1.16/metrics-enable.md.txt)
- [v1.15](https://docs.cloud.google.com/apigee/docs/hybrid/v1.15/metrics-enable.md.txt)
- [v1.14](https://docs.cloud.google.com/apigee/docs/hybrid/v1.14/metrics-enable.md.txt)
- [List of supported versions](https://docs.cloud.google.com/apigee/docs/hybrid/supported-platforms.md.txt#supported-versions)
- Unsupported versions:
- [v1.13](https://docs.cloud.google.com/apigee/docs/hybrid/v1.13/metrics-enable.md.txt)
- [v1.12](https://docs.cloud.google.com/apigee/docs/hybrid/v1.12/metrics-enable.md.txt)
- [v1.11](https://docs.cloud.google.com/apigee/docs/hybrid/v1.11/metrics-enable.md.txt)
- [v1.10](https://docs.cloud.google.com/apigee/docs/hybrid/v1.10/metrics-enable.md.txt)
- [v1.9](https://docs.cloud.google.com/apigee/docs/hybrid/v1.9/metrics-enable.md.txt)
- [v1.8](https://docs.cloud.google.com/apigee/docs/hybrid/v1.8/metrics-enable.md.txt)
- [v1.7](https://docs.cloud.google.com/apigee/docs/hybrid/v1.7/metrics-enable.md.txt)
- [v1.6](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/metrics-enable.md.txt)
- [v1.5](https://docs.cloud.google.com/apigee/docs/hybrid/v1.5/metrics-enable.md.txt)
- [v1.4](https://docs.cloud.google.com/apigee/docs/hybrid/v1.4/metrics-enable.md.txt)
- [v1.3](https://docs.cloud.google.com/apigee/docs/hybrid/v1.3/metrics-enable.md.txt)
- [v1.2](https://docs.cloud.google.com/apigee/docs/hybrid/v1.2/metrics-enable.md.txt)
- [v1.1](https://docs.cloud.google.com/apigee/docs/hybrid/v1.1/metrics-enable.md.txt)


This section describes configuration properties for sending Apigee hybrid metrics data to
[Cloud Operations](https://cloud.google.com/monitoring/kubernetes-engine/).
Metrics collection is enabled by default. See also [Metrics collection overview](https://docs.cloud.google.com/apigee/docs/hybrid/v1.4/metrics-collection.md.txt).

## Required configuration

The following overrides file settings configure metrics collection:

```
gcp:
  region: $GCP_REGION
  projectID: $GCP_PROJECT_ID

metrics:
  serviceAccountPath: $SERVICE_ACCOUNT_PATH
```


Where:

- `$GCP_REGION` identifies the GCP [region](https://cloud.google.com/compute/docs/regions-zones#available) where the `apigee-logger` and the `apigee-metrics` push their data.
- `$GCP_PROJECT_ID` identifies the project where `apigee-logger` and the `apigee-metrics` push their data.
- `$SERVICE_ACCOUNT_PATH` is the path on your filesystem to the GCP service account key file that was downloaded during the Apigee hybrid [installation procedure](https://docs.cloud.google.com/apigee/docs/hybrid/v1.4/precog-overview.md.txt). The service account associated with the key must have the **Monitoring Metrics Writer** role. For details on creating service accounts, see [Step 5: Add service
  accounts](https://docs.cloud.google.com/apigee/docs/hybrid/v1.4/precog-serviceaccounts).


Example:

```
gcp:
  region: us-central1
  projectID: acme-project

metrics:
  serviceAccountPath: ./service-accounts/metrics-sa.json
```

## How to disable metrics collection

To disable metrics collection, add the following configuration to your overrides and apply it
to the cluster:

```
metrics:
  enabled: false
```

*[Google Cloud]: Google Cloud