Configure metrics collection Stay organized with collections Save and categorize content based on your preferences.
This section describes configuration properties for sending Apigee hybrid metrics data toCloud Operations. 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 Cloud Operations 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:
$GCP_REGIONidentifies the Google Cloudregion where theapigee-loggerand theapigee-metricspush their data.$GCP_PROJECT_IDidentifies theGoogle Cloud project whereapigee-loggerand theapigee-metricspush their data.$SERVICE_ACCOUNT_PATHis the path on your filesystem to the Google Cloud service account key file that was downloaded during the Apigee hybridinstallation procedure. The service account associated with the key must have theMonitoring Metrics Writer role. For details on creating service accounts, seeAbout service accounts: Create the service accounts.
Example:
gcp:region:us-central1projectID:acme-projectmetrics:serviceAccountPath:./service-accounts/metrics-sa.json
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-18 UTC.