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 data to Cloud Operations for GKE, which is enabled by default."],["Users can optionally use their own metrics collection systems like Prometheus or Grafana instead of the default system, as detailed in the linked Apigee Community article."],["Configuring metrics collection involves setting the Google Cloud region, project ID, and the service account key file path in the overrides file."],["Metrics collection can be disabled by setting `metrics.enabled` to `false` in the overrides file."]]],[]]