Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Pub/Sub Lite meldet Messwerte an Cloud Monitoring. Mit Cloud Monitoring können Sie Benachrichtigungsrichtlinien und Messwertdiagramme erstellen.
Messwerte und überwachte Ressourcen
Ein Messwert ist eine Gruppe von Messungen zum Verhalten eines Produkts, einer Dienstleistung oder einer Anwendung.
Pub/Sub Lite meldet beispielsweise Daten für den Messwert backlog_quota_bytes.
Eine vollständige Liste der Pub/Sub Lite-Messwerttypen finden Sie in der Liste der Pub/Sub Lite-Messwerte.
Pub/Sub Lite erfasst Messwerte aus überwachten Ressourcen, darunter:
Suchen Sie im Bereich Ressourcentyp und Messwert suchen nach pubsublite_subscription_partition und wählen Sie es aus.
Wählen Sie in der Messwertliste backlog_quota_bytes aus.
Der Metrics Explorer erstellt temporäre Diagramme. Um ein Diagramm zu speichern, fügen Sie es einem Dashboard hinzu.
Benachrichtigungsrichtlinien erstellen
Eine Änderung einer Richtlinie identifiziert eine Situation, die sofortige Aufmerksamkeit oder Eingriffe erfordert.
Wenn Messwerte die Bedingungen einer Benachrichtigungsrichtlinie erfüllen, sendet Ihnen Cloud Monitoring eine Benachrichtigung. Cloud Monitoring kann Sie beispielsweise benachrichtigen, wenn backlog_quota_bytes ein Pub/Sub Lite-Kontingent überschreitet.
[[["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-28 (UTC)."],[],[],null,["# Monitoring Pub/Sub Lite resources\n\nPub/Sub Lite reports metrics to Cloud Monitoring. You can create alerting policies and\ncharts of metrics using Cloud Monitoring.\n\nMetrics and monitored resources\n-------------------------------\n\n\nA metric is a set of measurements about the behavior of a product, service, or application.\nFor example, Pub/Sub Lite reports data for the `backlog_quota_bytes`\nmetric.\n\n\nFor the complete list of Pub/Sub Lite metric types, see the list of\n[Pub/Sub Lite metrics](/monitoring/api/metrics_gcp_p_z#gcp-pubsublite).\n\n\nPub/Sub Lite collects metrics from monitored resources, including the following:\n\n- [`pubsublite_subscription_partition`](/monitoring/api/resources#tag_pubsublite_subscription_partition)\n- [`pubsublite_topic_partition`](/monitoring/api/resources#tag_pubsublite_topic_partition)\n- [`pubsublite_reservation`](/monitoring/api/resources#tag_pubsublite_reservation)\n\nExploring metrics\n-----------------\n\n\nTo explore the metrics that Pub/Sub Lite reports to Cloud Monitoring,\ncreate a chart with the Metrics Explorer.\n\n1.\n In the Google Cloud console, go to the **Metrics Explorer**:\n\n [Go to the Metrics Explorer](https://console.cloud.google.com/monitoring/metrics-explorer)\n2.\n In the **Find resource type and metric pane** , search for and select\n **`pubsublite_subscription_partition`**.\n\n | **Note**: Cloud Monitoring accumulates metric data over time. If your Google Cloud project is new, Cloud Monitoring might not have metric data yet, and the chart reports that no data is available.\n3. From the list of metrics, select **`backlog_quota_bytes`**.\n\n\nThe Metrics Explorer creates temporary charts. To save a chart, add it to a dashboard.\n\nCreating alerting policies\n--------------------------\n\n\nAn altering policy identifies a situation that warrants immediate attention or intervention.\nIf metrics meet the conditions of an alerting policy, Cloud Monitoring sends you a\nnotification. For example, Cloud Monitoring can notify you if\n`backlog_quota_bytes` is about to exceed a Pub/Sub Lite quota.\n\n\nFor more information about creating an alerting policy, see\n[Introduction to alerting](/monitoring/alerts).\n\nWhat's next\n-----------\n\n- [Learn more about metrics and monitored resources](/monitoring/api/v3/metrics).\n- [Learn more about the Metrics Explorer](/monitoring/charts/metrics-explorer).\n- [Create and monitor groups of resources](/monitoring/groups).\n- [Create dashboards and charts](/monitoring/dashboards)."]]