Stay organized with collections
Save and categorize content based on your preferences.
This page describes how to view metrics collected by Live Stream API as part of
Cloud Monitoring. You can find the list of Live Stream API metrics at Google
Cloud metrics.
View Cloud Monitoring metrics
To view the metrics for a monitored resource by using the
Metrics Explorer, do the following:
In the Google Cloud console, go to the
leaderboardMetrics explorer page:
If you use the search bar to find this page, then select the result whose subheading is
Monitoring.
In the toolbar of the Google Cloud console, select your Google Cloud project.
For App Hub configurations, select the
App Hub host project or the app-enabled folder's management project.
In the Metric element, expand the Select a metric menu,
enter Live Stream API Channel
in the filter bar, and then use the submenus to select a specific resource type and metric:
In the Active resources menu, select Live Stream API Channel.
To select a metric, use the Active metric categories and Active metrics menus.
Click Apply.
To add filters, which remove time series from the query results, use the
Filter element.
Configure how the data is viewed. For example, you can plot the chart for a specific
channel by entering channel_id = my-channel in the Filters field.
You can use the channel/received_bytes_count metric to monitor your input
stream bitrate. By default, the unit of channel/received_bytes_count is bytes
per second to be consistent with other Google Cloud metrics.
Follow the steps below to change the unit to a different bitrate unit such as
mbps:
In the Metrics Explorer Configuration tab, set the Resource Type
field to Live Stream API Channel and the Metric field to Received
bytes count.
Select the MQL tab.
Attach a scale function to the end of the current query:
[[["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-29 UTC."],[],[],null,["# Monitor live streams\n\nThis page describes how to view metrics collected by Live Stream API as part of\nCloud Monitoring. You can find the list of Live Stream API metrics at [Google\nCloud metrics](/monitoring/api/metrics_gcp).\n\nView Cloud Monitoring metrics\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 `Live Stream API Channel` 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 **Live Stream API Channel**.\n 2. To select a metric, use the **Active metric categories** and **Active metrics** menus.\n 3. Click **Apply**.\n4. Configure how the data is viewed. For example, you can plot the chart for a specific channel by entering `channel_id = my-channel` in the **Filters** field.\n\n For more information about configuring a chart, see\n [Select metrics when using Metrics Explorer.](/monitoring/charts/metrics-selector)\n\nConvert the input stream bitrate unit\n-------------------------------------\n\nYou can use the `channel/received_bytes_count` metric to monitor your input\nstream bitrate. By default, the unit of `channel/received_bytes_count` is bytes\nper second to be consistent with other Google Cloud metrics.\n\nFollow the steps below to change the unit to a different bitrate unit such as\n`mbps`:\n\n1. In the Metrics Explorer **Configuration** tab, set the **Resource Type**\n field to **Live Stream API Channel** and the **Metric** field to **Received\n bytes count**.\n\n2. Select the **MQL** tab.\n\n3. Attach a scale function to the end of the current query:\n\n ```\n fetch livestream.googleapis.com/Channel\n | metric 'livestream.googleapis.com/channel/received_bytes_count'\n | align rate(1m)\n | every 1m\n | scale(\"Mbit/s\")\n ```\n4. Click **RUN QUERY** to replot the chart with the `mbps` unit.\n\nFor more information about MQL, see [Using the Query Editor](/monitoring/mql/query-editor)."]]