Apigee hybrid collects operations metrics that you can use to monitor the health of hybrid services, to set up alerts, and so on. Apigee uses the industry-standard Prometheus add-on for metrics collection. Once collected, hybrid sends the metrics data to Stackdriver, at which point you can use the Stackdriver console for viewing, searching, and analyzing metrics and managing alerts.
The following diagram shows the metrics collection process:
As you can see in this diagram, there is one Prometheus server running per cluster, and it can run on any pod in the cluster. Prometheus scrapes application metrics data from all hybrid services and sends the metrics data to Stackdriver. You can access metrics data through the Stackdriver console.
Application metrics data is made available on a port as an internal Kubernetes service. Data collected by this service is scraped by the hybrid metrics collector service. You can use the Monitoring Metrics Explorer to select metrics you want to view, such as:
read request count
read request latency
write request count
write request latency
For example, you can create a dasard in Stackdriver to show your metrics:
[[["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-06-25 UTC."],[[["Version 1.2 of the Apigee hybrid documentation is end of life, and users should upgrade to a newer version."],["Apigee hybrid uses Prometheus for metrics collection, which is then sent to Stackdriver for viewing, searching, analyzing, and managing alerts."],["Metrics collection is disabled by default and needs to be enabled by following the instructions in the \"Configure metrics collection\" guide."],["Application metrics data is collected by the hybrid metrics collector service and is available through the Stackdriver Monitoring Metrics Explorer."]]],[]]