Apigee hybrid erfasst Messwerte, mit denen Sie den Status von Hybriddiensten überwachen, Benachrichtigungen einrichten usw. Apigee verwendet das branchenübliche Add-on Prometheus für die Messwerterfassung. Sobald die Hybriddaten erfasst wurden, werden die Messwertdaten an Cloud Operations gesendet. Anschließend können Sie diese Daten mit der Cloud Operations Console ansehen, suchen und analysieren sowie Benachrichtigungen verwalten.
Das folgende Diagramm zeigt den Messwerterfassungsprozess:
Wie Sie in diesem Diagramm sehen, wird pro Cluster ein Prometheus-Server ausgeführt. Außerdem kann er auf jedem Pod im Cluster ausgeführt werden.
Prometheus extrahiert Anwendungsmesswerte aus allen Hybriddiensten und sendet die Messwertdaten an Cloud Operations. Sie können über die Cloud Operations Console auf Messwertdaten zugreifen.
Die Erfassung von Messwerten ist standardmäßig aktiviert. Informationen zum Deaktivieren finden Sie unter Messwerterfassung konfigurieren.
Eine Liste der Messwerte, mit denen Sie den Proxy-Traffic analysieren können, finden Sie unter Verfügbare Messwerte.
Informationen zu Messwerten
Daten zu Anwendungsmesswerten werden auf einem Port als interner Kubernetes-Dienst zur Verfügung gestellt. Die von diesem Dienst erfassten Daten werden durch den Collector-Messwert-Collector-Dienst extrahiert. Im Monitoring-Metrics Explorer können Sie Messwerte auswählen, die Sie anzeigen lassen möchten. Zum Beispiel:
Anzahl der Leseanfragen
Leselatenz
Anzahl der Schreibanfragen
Schreiblatenz
Beispielsweise können Sie ein Dashboard in Cloud Operations erstellen, um Ihre Messwerte anzeigen zu lassen:
[[["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-08-18 (UTC)."],[[["\u003cp\u003eApigee hybrid documentation version 1.11 is currently being viewed, and users can find version support details in the "Supported versions" section.\u003c/p\u003e\n"],["\u003cp\u003eApigee hybrid utilizes the Prometheus add-on for operations metrics collection, which is then sent to Cloud Operations for monitoring, analysis, and alert management.\u003c/p\u003e\n"],["\u003cp\u003eA single Prometheus server per cluster scrapes metrics data from all hybrid services and forwards it to Cloud Operations, accessible through its console.\u003c/p\u003e\n"],["\u003cp\u003eMetrics collection is enabled by default and can be disabled via the "Configure metrics collection" settings.\u003c/p\u003e\n"],["\u003cp\u003eUsers can use the Monitoring Metrics Explorer to view metrics like read/write request counts and latency, which can also be displayed in a Cloud Operations dashboard.\u003c/p\u003e\n"]]],[],null,["# Metrics collection overview\n\n| 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\nApigee hybrid collects operations metrics that you can use to\nmonitor the health of hybrid services, to set up alerts, and\nso on. Apigee uses the industry-standard [Prometheus](https://github.com/kubernetes/kops/tree/master/addons/prometheus-operator) add-on for metrics collection. Once\ncollected, hybrid sends the metrics data to Cloud Operations, at which point you\ncan use the Cloud Operations console for viewing, searching, and\nanalyzing metrics and managing alerts.\n\nThe following diagram shows the metrics collection process:\n\nAs you can see in this diagram, there is one Prometheus server\nrunning per cluster, and it can run on any pod in the cluster.\nPrometheus scrapes application metrics data from all hybrid\nservices and sends the metrics data to Cloud Operations. You can access\nmetrics data through the Cloud Operations console.\n\nMetrics collection is enabled by default. To disable it, see\n[Configure metrics collection](/apigee/docs/hybrid/v1.11/metrics-enable).\n\nFor a list of metrics you can use to analyze proxy traffic, see\n[Available metrics](/apigee/docs/hybrid/v1.11/metrics-view#available_metrics).\n\nAbout metrics\n-------------\n\nApplication metrics data is made available on a port as an\ninternal Kubernetes service. Data collected by this service is\nscraped by the hybrid metrics collector service. You can use\nthe [Monitoring Metrics Explorer](https://console.cloud.google.com/monitoring/metrics-explorer) to select metrics you want to view, such as:\n\n- read request count\n- read request latency\n- write request count\n- write request latency\n\nFor example, you can create a dashboard in Cloud Operations to show\nyour metrics:"]]