Knative serving is automatically integrated with Cloud Monitoringwith no setup or configuration required. This means that metrics of your
Knative serving services are captured automatically when they are running.
You can view metrics either in Cloud Monitoring or in the Knative serving
page in the console. Cloud Monitoring provides more charting and filtering
options.
Resource types
The monitoring resource name for Knative serving isKnative serving Revision(knative_revision) .
Viewing metrics in Knative serving
To view metrics in Knative serving:
Go to Knative serving in the Google Cloud console:
If you use the search bar to find this page, then select the result whose subheading isMonitoring.
In the toolbar of the Google Cloud console, select your Google Cloud project.
ForApp Hubconfigurations, select the
App Hub host project or the app-enabled folder's management project.
In theMetricelement, expand theSelect a metricmenu,
enterKnative serving Revisionin the filter bar, and then use the submenus to select a specific resource type and metric:
In theActive resourcesmenu, selectKnative serving Revision.
To select a metric, use theActive metric categoriesandActive metricsmenus.
For a full description of the available metrics,
see:
To add filters, which remove time series from the query results, use theFilterelement.
To combine time series, use the menus on theAggregationelement.
For example, to display the CPU utilization for your VMs, based on their zone, set the
first menu toMeanand the second menu tozone.
All time series are displayed when the first menu of theAggregationelement is set
toUnaggregated. The default settings for theAggregationelement
are determined by the metric type you selected.
For quota and other metrics that report one sample per day, do the following:
In theDisplaypane,
set theWidget typetoStacked bar chart.
Set the time period to at least one week.
Adding Uptime checks
You can use Cloud Monitoring to keep track of your services'
performance. For more information, seeVerify availability of your service(uptime checks).
Adding Alerts
You can use Cloud Monitoring to send notification about certain
events, such as uptime check failures. For more information, seeCreate and manage alerting policiesfor your service.
[[["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-09-04 UTC."],[[["\u003cp\u003eKnative serving automatically integrates with Cloud Monitoring, capturing service metrics without any manual setup.\u003c/p\u003e\n"],["\u003cp\u003eCloud Monitoring offers performance monitoring, metrics tracking, uptime checks, and alerts to notify users of exceeded metric thresholds.\u003c/p\u003e\n"],["\u003cp\u003eKnative serving metrics can be viewed in either Cloud Monitoring, which provides advanced charting and filtering, or directly on the Knative serving page in the console.\u003c/p\u003e\n"],["\u003cp\u003eThe monitoring resource type for Knative serving is "Knative serving Revision" (\u003ccode\u003eknative_revision\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eUsers can set up uptime checks and alerting policies within Cloud Monitoring to monitor service availability and receive notifications about specific events.\u003c/p\u003e\n"]]],[],null,["# Monitoring health and performance\n\n| **Beta**\n|\n|\n| This feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\n[Cloud Monitoring](/monitoring/docs) provides\nperformance monitoring, [metrics](/monitoring/api/metrics_gcp_p_z#gcp-run),\nand [uptime checks](/monitoring/uptime-checks),\nalong with [alerts](/monitoring/alerts) to send\nnotifications when certain metric thresholds are exceeded.\n[Google Cloud Observability pricing](/stackdriver/pricing)\napplies. Note that you can also use\n[Cloud Monitoring custom metrics](/monitoring/custom-metrics).\n\nKnative serving is automatically integrated with Cloud Monitoring\n**with no setup or configuration required**. This means that metrics of your\nKnative serving services are captured automatically when they are running.\n\nYou can view metrics either in Cloud Monitoring or in the Knative serving\npage in the console. Cloud Monitoring provides more charting and filtering\noptions.\n\nResource types\n--------------\n\nThe monitoring resource name for Knative serving is\n*Knative serving Revision* (`knative_revision`) .\n\nViewing metrics in Knative serving\n----------------------------------\n\nTo view metrics in Knative serving:\n\n1. Go to Knative serving in the Google Cloud console:\n\n [Go to Knative serving](https://console.cloud.google.com/kubernetes/run)\n2. Locate the service in the services list, and click on it.\n\n3. Click the *Metrics* tab to show the metrics for that revision.\n\nViewing metrics in Cloud Monitoring\n-----------------------------------\n\nTo view the metrics for a monitored resource by using the\nMetrics Explorer, do the following:\n\n1. In the Google Cloud console, go to the\n *leaderboard* **Metrics explorer** page:\n\n [Go to **Metrics explorer**](https://console.cloud.google.com/monitoring/metrics-explorer)\n\n \u003cbr /\u003e\n\n If you use the search bar to find this page, then select the result whose subheading is\n **Monitoring**.\n2. In the toolbar of the Google Cloud console, select your Google Cloud project. For [App Hub](/app-hub/docs/overview) configurations, select the App Hub host project or the app-enabled folder's management project.\n3. In the **Metric** element, expand the **Select a metric** menu, enter `Knative serving Revision` in the filter bar, and then use the submenus to select a specific resource type and metric:\n 1. In the **Active resources** menu, select **Knative serving Revision**.\n 2. To select a metric, use the **Active metric categories** and **Active metrics** menus. For a full description of the available metrics, see:\n - [Monitoring Knative metrics](/monitoring/api/metrics_knative)\n - [Monitoring Kubernetes metrics](/monitoring/api/metrics_kubernetes) pages.\n 3. Click **Apply**.\n4. To remove time series from the display, use the\n [**Filter** element](/monitoring/charts/metrics-selector#filter-option).\n\n5. To combine time series, use the menus on the\n [**Aggregation** element](/monitoring/charts/metrics-selector#select_display).\n For example, to display the CPU utilization for your VMs, based on their zone, set the\n first menu to **Mean** and the second menu to **zone**.\n\n All time series are displayed when the first menu of the **Aggregation** element is set\n to **Unaggregated** . The default settings for the **Aggregation** element\n are determined by the metric type you selected.\n6. For quota and other metrics that report one sample per day, do the following:\n 1. In the **Display** pane, set the **Widget type** to **Stacked bar chart**.\n 2. Set the time period to at least one week.\n\n| **Note:** Some of the metrics listed show a sample interval of only once every 60 seconds. This means that if the underlying value of the metric changes more than once in 60 seconds, only one of the underlying values will be reported to Monitoring.\n\nAdding Uptime checks\n--------------------\n\nYou can use Cloud Monitoring to keep track of your services'\nperformance. For more information, see\n[Verify availability of your service](/monitoring/uptime-checks)(uptime checks).\n\nAdding Alerts\n-------------\n\nYou can use Cloud Monitoring to send notification about certain\nevents, such as uptime check failures. For more information, see\n[Create and manage alerting policies](/monitoring/alerts) for your service."]]