Cloud IoT Core exports usage metrics that can be monitored programmatically or accessed via Cloud Monitoring. These metrics are aggregated at the registry level. You can use Cloud Monitoring to create dashboards or set up alerts.
Viewing metrics
Go to Cloud Monitoring in Google Cloud console to view Monitoring dashboards or define Monitoring alerts. You can also use the Cloud Monitoring API to query and view metrics for device registries.
Metrics and resource types
To see the usage metrics that Cloud IoT Core reports to Cloud Monitoring, view the Metrics List in the Cloud Monitoring documentation.
To see the details of the
cloudiot_device_registry
monitored resource type, view Monitored Resource Types in the Cloud Monitoring documentation.