> [!CAUTION]
> You are currently viewing version 1.1 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.1 (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)


Apigee hybrid metrics collection is disabled by default; you must provide
a few configuration properties in your overrides file to enable hybrid
to send the collected metrics data to
[Stackdriver](https://cloud.google.com/monitoring/kubernetes-engine/).

## Required configuration


To enable Apigee hybrid to send collected metrics data to [Stackdriver](https://cloud.google.com/monitoring/kubernetes-engine/),
you must provide these configuration settings in your overrides
file:

```
...
gcpProjectID: project_ID
k8sClusterName: cluster_name
...
metrics:
  enabled: true
  serviceAccountPath: service_account_file
```


Where:

- `gcpProjectID` is a GCP project ID. Metrics data will be sent to the Stackdriver instance in that project.
- `k8sClusterName` is the name of the Kubernetes cluster where the hybrid runtime is installed.
- `serviceAccountPath` 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.1/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.1/precog-serviceaccounts).


Example:

```
...
gcpProjectID: acme-hybrid
k8sClusterName: acme-hybrid
...
metrics:
  enabled: true
  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
...
```