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 Cloud Operations, at which point you
can use the Cloud Operations 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 Cloud Operations. You can access
metrics data through the Cloud Operations console.
For a list of metrics you can use to analyze proxy traffic, see
Available metrics.
About metrics
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 dashboard in Cloud Operations 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-03-10 UTC."],[[["Apigee hybrid version 1.9 uses Prometheus for collecting operations metrics to monitor the health of hybrid services and set up alerts."],["Metrics are collected by a Prometheus server within each cluster, scraping data from all hybrid services and sending it to Cloud Operations."],["Metrics collection is enabled by default, but can be disabled through configuration settings if needed."],["Collected metrics can be accessed and analyzed through the Cloud Operations console, allowing for viewing, searching, analyzing, and managing alerts."],["The collected metrics include read/write request counts and latency, which are accessible via the Monitoring Metrics Explorer."]]],[]]