Apigee hybrid uses the industry-standard Prometheus add-on for metrics collection. All
Apigee hybrid runtime plane applications expose an HTTP(s) endpoint that a
Prometheus
server can scrape. The Metrics are formatted in
OpenCensus format.
You can use your own metrics collection and reporting service, keeping in mind that
Apigee hybrid metrics are formatted in OpenCensus for scraping by a Prometheus server.
The following table lists port number and endpoint where hybrid exposes metrics for scraping for
each runtime plane pods.
Apigee component name
Port number
Metrics endpoint
Cassandra
7070
/metrics
Connect Agent
7070
/metrics
Mart
8843
/v1/mart/metrics
Redis
8001
/stats/promethues
Runtime
8843
/v1/server/metrics
Synchronizer
8843
/v1/sync/metrics
UDCA
7070
/v1/server/metrics
Watcher
8843
/metricz
Example
The following example shows collecting metrics on the Runtime component from the command line:
[[["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 utilizes the Prometheus add-on for metrics collection, with all runtime plane applications providing an HTTP(s) endpoint for scraping."],["Metrics from Apigee hybrid are formatted in OpenCensus and are compatible with Prometheus for scraping."],["Each Apigee hybrid runtime component exposes metrics on specific ports and endpoints, as detailed in the provided table."],["You are free to use your own metrics collection and reporting service as long as you can collect OpenCensus formatted data."],["The Runtime component can be used to collect metrics from the command line using a `kubectl` command, for example."]]],[]]