Apigee Hybrid verwendet das branchenübliche Add-on Prometheus für die Messwerterfassung. Alle Anwendungen der Hybrid-Laufzeitebene von Apigee stellen einen HTTP(s)-Endpunkt bereit, den ein Prometheus-Server scrapen kann. Die Messwerte sind im OpenCensus-Format formatiert.
Sie können Ihren eigenen Messwerterfassungs- und Berichtsdienst verwenden. Beachten Sie, dass Apigee Hybrid-Messwerte in OpenCensus-Format für das Scraping durch einen Prometheus-Server formatiert sind.
In der folgenden Tabelle sind die Portnummer und der Endpunkt aufgeführt, in denen Hybrid Messwerte für das Scraping für jeden Pod der Laufzeitebene bereitstellt.
Apigee-Komponentenname
Portnummer
Messwertendpunkt
Cassandra
7070
/metrics
Connect Agent
7070
/metrics
Mart
8843
/v1/mart/metrics
Redis
8001
/stats/promethues
Laufzeit
8843
/v1/server/metrics
Synchronizer
8843
/v1/sync/metrics
UDCA
7070
/v1/server/metrics
Watcher
8843
/metricz
Beispiel
Das folgende Beispiel zeigt das Erfassen von Messwerten für die Laufzeitkomponente über die Befehlszeile:
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (UTC)."],[[["\u003cp\u003eApigee hybrid utilizes Prometheus for metrics collection, with all runtime plane applications exposing an HTTP(s) endpoint for scraping.\u003c/p\u003e\n"],["\u003cp\u003eMetrics from Apigee hybrid are formatted in OpenCensus, designed for use with a Prometheus server.\u003c/p\u003e\n"],["\u003cp\u003eEach Apigee hybrid component exposes metrics through specific port numbers and endpoints, detailed in the provided table.\u003c/p\u003e\n"],["\u003cp\u003eThe provided example shows how to collect metrics from the Runtime component using \u003ccode\u003ekubectl\u003c/code\u003e and \u003ccode\u003ecurl\u003c/code\u003e commands.\u003c/p\u003e\n"]]],[],null,["# Pod metrics annotations details\n\n| You are currently viewing version 1.14 of the Apigee hybrid documentation. 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_NAMESPACE port-forward RUNTIME_POD_NAME 8843:8843\ncurl -k https://0:8843/v1/server/metrics?type=\"prometheus\"\n```"]]