리소스 유형 및 측정항목 찾기 창에서 pubsublite_subscription_partition을 검색하여 선택합니다.
측정항목 목록에서 backlog_quota_bytes를 선택합니다.
측정항목 탐색기는 임시 차트를 만듭니다. 차트를 저장하려면 대시보드에 추가합니다.
알림 정책 만들기
알림 정책은 즉각적인 주의나 개입이 필요한 상황을 식별합니다.
측정항목이 알림 정책 조건을 충족하면 Cloud Monitoring이 알림을 전송합니다. 예를 들어 backlog_quota_bytes가 Pub/Sub 라이트 할당량을 초과하려고 하면 Cloud Monitoring에서 알림을 보낼 수 있습니다.
[[["이해하기 쉬움","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-04(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)."]]