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-04-18 UTC."],[[["Apigee hybrid metrics data is sent to Cloud Operations for GKE, with metrics collection enabled by default."],["Users can configure metrics collection by setting the Google Cloud region, project ID, and service account path in the overrides file."],["The service account used for metrics collection must have the Monitoring Metrics Writer role in Google Cloud."],["Alternatively, users may employ their own systems, such as Prometheus or Grafana, for metrics collection alongside or instead of Apigee's default system."],["Metrics collection can be disabled by setting `metrics: enabled: false` in the overrides file."]]],[]]