> [!CAUTION]
> You are currently viewing version 1.13 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.13 </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 for GKE](https://docs.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.13/metrics-collection.md.txt).

In some cases, you may wish to use your own metrics collection system, such as
Prometheus or Grafana, in parallel with or
instead of the default metrics collection system provided by Apigee. For details on using your
own metrics collection system, see the article [Bring your own Prometheus (and Grafana) to monitor Apigee hybrid](https://www.googlecloudcommunity.com/gc/Cloud-Product-Articles/BYOP-Bring-your-own-Prometheus-and-Grafana-to-monitor-Apigee/ta-p/499772)
in the Apigee Community.

## 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 Google Cloud [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 Google Cloud service account key file that was downloaded during the Apigee hybrid [installation procedure](https://docs.cloud.google.com/apigee/docs/hybrid/v1.13/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 [About service accounts: Create the service accounts](https://docs.cloud.google.com/apigee/docs/hybrid/v1.13/sa-about.md.txt#create-the-service-accounts).


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