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 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-10 UTC."],[[["This document provides configuration details for sending Apigee hybrid metrics to Cloud Operations for GKE, which is enabled by default."],["You can use alternative metrics collection systems like Prometheus or Grafana instead of or in addition to the default setup."],["Configuring metrics collection requires specifying the Google Cloud region, project ID, and service account path in the overrides file."],["The specified service account must have the Monitoring Metrics Writer role."],["Metrics collection can be disabled by setting `metrics: enabled: false` in your overrides file."]]],[]]