在 Alpha 版或搶先體驗版推出階段,指標類型可能不會顯示在公開指標清單中。如要取得這些指標類型的相關資訊,請從已獲准使用受限指標類型的專案中,明確擷取指標描述元集。 Google Cloud如果您有權使用受限指標類型,可以透過 Monitoring API 中的 metricDescriptors.list 方法擷取指標描述元。詳情請參閱「列出指標描述元」。
其他資訊:中繼資料
每個指標類型的說明都包含指標的中繼資料。中繼資料包括:
取樣週期:對於定期寫入的指標,這是連續資料點之間的時間間隔,不包括因錯誤而遺失的資料。如果有的話,這段時間會顯示在說明文字的結尾,句子格式為「每 x 秒取樣一次」。
延遲時間:系統保證可讀取超過這個值的資料點,但因錯誤導致資料遺失的情況除外。延遲時間不包括等待下一個取樣週期的時間。如有延遲,說明文字結尾會顯示「取樣完畢後,會有多達 y 秒無法查看資料。」
[[["容易理解","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-05 (世界標準時間)。"],[],[],null,["# Metrics list\n\nMetric types in Cloud Monitoring are classified into general groups,\nbased on the type of service that collects the data. This document provides\nlinks to reference lists for each of these groups.\n\nMetrics from Google Cloud services include:\n\n- [Google Cloud metrics](/monitoring/api/metrics_gcp), for Google Cloud services such as Compute Engine and BigQuery.\n- [Google Distributed Cloud metrics](/monitoring/api/metrics_anthos), for Google Distributed Cloud software only.\n- [Istio metrics](/monitoring/api/metrics_istio), for Istio on Google Kubernetes Engine.\n- [Kubernetes metrics](/monitoring/api/metrics_kubernetes), for Google Kubernetes Engine (GKE).\n\nMetrics from agents, open-source, and third-party applications include:\n\n\u003cbr /\u003e\n\n- Metrics for the legacy Cloud Monitoring and Cloud Logging agents,\n as well as the Ops Agent. With the exception of metrics from\n third-party applications, the Ops Agent and the legacy agents share\n many groups of metrics.\n\n - [Ops Agent metrics](/monitoring/api/metrics_opsagent), for VM instances\n running the Ops Agent.\n\n - [Legacy Monitoring and Logging agent\n metrics](/monitoring/api/metrics_agent), for VM instances running the\n legacy Monitoring and Logging agents.\n\n- [Knative metrics](/monitoring/api/metrics_knative), for Knative\n components.\n\n- [External metrics](/monitoring/api/metrics_other), for\n open-source and third-party applications.\n\nAbout the lists\n---------------\n\nThe tables in the metric-type lists are regenerated frequently and time-stamped.\nThe information listed for each metric type comes from\nthe Monitoring API [`MetricDescriptor`](/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors#MetricDescriptor)\nobject for each metric type. For more information about how metric\ntypes are described, see\n[Metrics, time series, and resources](/monitoring/api/v3/metrics).\n\nLaunch stages\n-------------\n\nEach metric type has a launch stage that indicates its maturity. If specified,\nthe launch stage appears as a colored superscript after the metric type:\n^GA^,\n^BETA^,\n^ALPHA^,\n^EARLY_ACCESS^, or\n^DEPRECATED^.\nIf no superscript appears, then the launch stage is unspecified.\nFor more information, see [Product launch stages](/products#product-launch-stages).\n\nMetric types in the Alpha or Early Access launch stages might not appear in\nthe public lists of metrics. To get information about those metric types,\nexplicitly retrieve the set of metric descriptors from a Google Cloud\nproject that has been given permission to use the restricted metric types.\nIf you have permission to use restricted metric types, you can retrieve\nthe metric descriptors by using the\n[`metricDescriptors.list`](/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors/list) method in the\nMonitoring API. For more information, see\n[List metric descriptors](/monitoring/custom-metrics/browsing-metrics#list-metric-descriptors).\n\nAdditional information: metadata\n--------------------------------\n\nThe description for each metric type includes information called *metadata*\nabout the metric. The metadata includes the following:\n\n- **Sample Period** : For metrics that are written periodically, this is the\n time interval between consecutive data points, excluding data loss due to\n errors. The period, if available, appears at the end of the description\n text in a sentence of the form *\"Sampled every* x\n *seconds.\"*\n\n- **Latency** : Data points older than this value are guaranteed to be\n available to be read, excluding data loss due to errors. The delay does not\n include any time spent waiting until the next sampling period. The delay, if\n available, appears at the end of the description text in a sentence\n of the form *\"After sampling, data is not visible for up to* y\n *seconds.\"*\n\n- **Resource hierarchy levels**: Most metrics are collected only for\n projects, but some metrics are also collected at the organization and folder\n levels. If a level is not specified in the metadata, then the metric is\n written at the project level.\n\nPricing\n-------\n\nIn general, Cloud Monitoring system metrics are free, and metrics\nfrom external systems, agents, or applications are not. Billable metrics are\nbilled by either the number of bytes or the number of samples ingested.\n\nFor more information, see the Cloud Monitoring sections of the [Google Cloud Observability pricing](https://cloud.google.com/stackdriver/pricing) page.\n\nGetting started\n---------------\n\n- For an introduction to the concepts and terminology used in the Cloud Monitoring metric model, see [Metrics, time series, and resources](/monitoring/api/v3/metrics).\n- To create your own metrics, see [Create user-defined metrics with the API](/monitoring/custom-metrics), [User-defined agent metrics](/monitoring/agent/custom-metrics-agent), and [Logs-based metrics](/logging/docs/view/logs_based_metrics).\n- To quickly see graphs of metric data, use the Metrics Explorer. For information about using this tool, see [Create charts with Metrics Explorer](/monitoring/charts/metrics-explorer)."]]