Configure metrics collection

This section describes configuration properties for sending Apigee hybrid metrics data toCloud Operations for GKE. Metrics collection is enabled by default. See alsoMetrics collection overview.

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 articleBring your own Prometheus (and Grafana) to monitor Apigee hybrid in the Apigee Community.

Required configuration

The following overrides file settings configure metrics collection:

gcp:region:$GCP_REGIONprojectID:$GCP_PROJECT_IDmetrics:serviceAccountPath:$SERVICE_ACCOUNT_PATH

Where:

Example:

gcp:region:us-central1projectID:acme-projectmetrics:serviceAccountPath:./service-accounts/metrics-sa.json
Note: Seemetrics.serviceAccountPath in the Configuration property reference.

How to disable metrics collection

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

metrics:enabled:false

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-19 UTC.