[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-10 (世界標準時間)。"],[[["\u003cp\u003eApigee hybrid utilizes the Prometheus add-on for metrics collection, with all runtime plane applications providing an HTTP(s) endpoint for scraping.\u003c/p\u003e\n"],["\u003cp\u003eMetrics from Apigee hybrid are formatted in OpenCensus and are compatible with Prometheus for scraping.\u003c/p\u003e\n"],["\u003cp\u003eEach Apigee hybrid runtime component exposes metrics on specific ports and endpoints, as detailed in the provided table.\u003c/p\u003e\n"],["\u003cp\u003eYou are free to use your own metrics collection and reporting service as long as you can collect OpenCensus formatted data.\u003c/p\u003e\n"],["\u003cp\u003eThe Runtime component can be used to collect metrics from the command line using a \u003ccode\u003ekubectl\u003c/code\u003e command, for example.\u003c/p\u003e\n"]]],[],null,["| You are currently viewing version 1.11 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\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| Apigee component name | Port number | Metrics endpoint |\n|-----------------------|-------------|----------------------|\n| Cassandra | `7070` | `/metrics` |\n| Connect Agent | `7070` | `/metrics` |\n| Mart | `8843` | `/v1/mart/metrics` |\n| Redis | `8001` | `/stats/promethues` |\n| Runtime | `8843` | `/v1/server/metrics` |\n| Synchronizer | `8843` | `/v1/sync/metrics` |\n| UDCA | `7070` | `/v1/server/metrics` |\n| Watcher | `8843` | `/metricz` |\n\nExample\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```"]]