Stay organized with collections
Save and categorize content based on your preferences.
Pub/Sub Lite reports metrics to Cloud Monitoring. You can create alerting policies and
charts of metrics using Cloud Monitoring.
Metrics and monitored resources
A metric is a set of measurements about the behavior of a product, service, or application.
For example, Pub/Sub Lite reports data for the backlog_quota_bytes
metric.
For the complete list of Pub/Sub Lite metric types, see the list of
Pub/Sub Lite metrics.
Pub/Sub Lite collects metrics from monitored resources, including the following:
In the Find resource type and metric pane, search for and select
pubsublite_subscription_partition.
From the list of metrics, select backlog_quota_bytes.
The Metrics Explorer creates temporary charts. To save a chart, add it to a dashboard.
Creating alerting policies
An altering policy identifies a situation that warrants immediate attention or intervention.
If metrics meet the conditions of an alerting policy, Cloud Monitoring sends you a
notification. For example, Cloud Monitoring can notify you if
backlog_quota_bytes is about to exceed a Pub/Sub Lite quota.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 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)."]]