Configure metrics collection Stay organized with collections Save and categorize content based on your preferences.
You are currently viewing version 1.3 of the Apigee hybrid documentation.This version is end of life. You should upgrade to a newer version. For more information, seeSupported versions.
This section describes configuration properties for sending Apigee hybrid metrics data toCloud Operations. Metrics collection is enabled by default. See alsoMetrics collection overview.
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 GCPregion 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 GCP 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, seeStep 5: Add 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-05 UTC.