Cloud Run for Anthos uses Cloud Monitoring, which provides performance monitoring, metrics, uptime checks, and threshold based alerts. You can also set up and use Cloud Monitoring custom metrics. Google Cloud's operations suite pricing applies.
For clusters on Google Cloud, Cloud Run for Anthos is automatically integrated with Cloud Monitoring without additional configuration. This means that the metrics for your Cloud Run for Anthos services are captured automatically when they are running.
For other clusters, you must first enable metrics by
CloudRun custom resource.
You can view metrics either in Cloud Monitoring or in the Cloud Run for Anthos page in the console. Cloud Monitoring provides more charting and filtering options.
The monitoring resource name for Cloud Run for Anthos is
Cloud Run for Anthos Revision (
Viewing metrics in Cloud Run for Anthos
To view metrics in Cloud Run for Anthos:
Go to Cloud Run for Anthos in the Cloud Console:
Locate the service in the services list, and click on it.
Click the Metrics tab to show the metrics for that revision.
Viewing metrics in Cloud Monitoring
To use Metrics Explorer to view the metrics for a monitored resource, follow these steps:
- In the Google Cloud Console, go to the Monitoring page.
- In the Monitoring navigation pane, click Metrics Explorer.
- Select the Configuration tab, and then enter or select a Resource type and a Metric. Use the following information to complete the fields:
- (Optional) To configure how the data is viewed, use the Filter, Group By, and Aggregator menus. For example, you can group by resource or metric labels. For more information, see Selecting metrics.
Adding Uptime checks
You can use Cloud Monitoring to keep track of your services' performance. For more information, see Verify availability of your service(uptime checks).
You can use Cloud Monitoring to send notification about certain
events, such as uptime check failures. For more information, see
Create and manage alerting policies for your service.