This section describes configuration properties for sending Apigee hybrid metrics data to
Cloud Operations.
Metrics collection is enabled by default. See also Metrics 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 article Bring 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 identifies the Google Cloud region
where the apigee-logger
and the apigee-metrics push their data.
$GCP_PROJECT_ID identifies the Google Cloud 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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-07 UTC."],[[["The current documentation version (1.8) for Apigee hybrid is end of life and users should upgrade to a newer version."],["Apigee hybrid metrics data is sent to Cloud Operations by default, but this can be changed to a different system."],["Metrics collection in Apigee hybrid requires configuration settings such as the Google Cloud region, project ID, and a service account with the Monitoring Metrics Writer role."],["Metrics collection can be disabled by setting `metrics.enabled` to `false` in the configuration overrides."]]],[]]