Apigee hybrid menggunakan add-on Prometheus standar industri untuk pengumpulan metrik. Semua
aplikasi platform runtime campuran Apigee mengekspos endpoint HTTP(s) yang dapat di-scraping oleh
server Prometheus. Metrik diformat dalam format OpenCensus.
Anda dapat menggunakan layanan pelaporan dan pengumpulan metrik Anda sendiri, dengan mempertimbangkan bahwa metrik Apigee hybrid diformat di OpenCensus untuk scraping oleh server Prometheus.
Tabel berikut mencantumkan nomor port dan endpoint tempat hybrid mengekspos metrik untuk scraping untuk
setiap pod platform runtime.
Nama komponen Apigee
Nomor port
Endpoint metrik
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
Pemantau
8843
/metricz
Contoh
Contoh berikut menunjukkan pengumpulan metrik pada komponen Runtime dari command line:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[[["\u003cp\u003eApigee hybrid utilizes Prometheus for metrics collection, with all runtime applications exposing an HTTP(s) endpoint for scraping.\u003c/p\u003e\n"],["\u003cp\u003eApigee hybrid metrics are formatted in OpenCensus, designed for scraping by a Prometheus server.\u003c/p\u003e\n"],["\u003cp\u003eEach Apigee hybrid component, such as Cassandra, Connect Agent, and Runtime, exposes metrics through specific ports and endpoints.\u003c/p\u003e\n"],["\u003cp\u003eYou can collect metrics on a hybrid component such as runtime by using a curl command, via kubectl.\u003c/p\u003e\n"],["\u003cp\u003eThe current documentation version is 1.9, with details on supported versions available through the provided link.\u003c/p\u003e\n"]]],[],null,["# Pod metrics annotations details\n\n| You are currently viewing version 1.9 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. For more information, see [Supported versions](/apigee/docs/hybrid/supported-platforms#supported-versions).\n\nOverview\n--------\n\n\nApigee hybrid uses the industry-standard Prometheus add-on for metrics collection. All\nApigee hybrid runtime plane applications expose an HTTP(s) endpoint that a\n[Prometheus](https://prometheus.io/)\nserver can scrape. The Metrics are formatted in\n[OpenCensus](https://opencensus.io/introduction/) format.\n\n\nYou can use your own metrics collection and reporting service, keeping in mind that\nApigee hybrid metrics are formatted in OpenCensus for scraping by a Prometheus server.\n\n\nThe following table lists port number and endpoint where hybrid exposes metrics for scraping for\neach runtime plane pods.\n\n### Example\n\n\nThe following example shows collecting metrics on the Runtime component from the command line: \n\n```\nkubectl -n apigee port-forward RUNTIME_POD_NAME 8843:8843\ncurl -k https://0:8843/v1/server/metrics?type=\"prometheus\"\n```"]]