С помощью Google Cloud Monitoring вы можете получить полезные метрики использования ваших интеграций. Используйте Cloud Monitoring для создания панелей мониторинга и виджетов , настройки оповещений и программного доступа к данным метрик .
Панели мониторинга
On the Google Cloud Monitoring dashboard page, you can find the following predefined dashboards that display various charts and metrics for your integrations.
- Google Home Analytics : Displays aggregated metrics across all your integrations.
- Google Home Analytics - Cloud Integration : Displays detailed metrics and fulfillment statistics for your Cloud-to-cloud integration.
- Google Home Analytics - Cloud Integration Quality : View key metrics for Cloud-to-cloud integration quality and debugging steps for improving those metrics.
- Google Home Analytics - Local Integration : Displays detailed metrics and fulfillment statistics for your Local Home SDK integration.
- Google Home Analytics - Matter Integration : Displays detailed metrics and fulfillment statistics for your Matter integration.
- Google Home Analytics - Camera Quality : Displays additional metrics and fulfillment statistics for cameras, including troubleshooting metrics for streaming protocols like WebRTC.
You can also browse the sample library or create your own.
Access dashboards
There are several ways to access Monitoring dashboard s, also referred to as Analytics.
- To access Cloud Monitoring from the Actions on Google Console , select your project, then click Analytics > Go to Google Cloud Platform .
- To access Cloud Monitoring from the Google Cloud Console , click View all products , then go to Observability > Monitoring .
- Finally, you can go directly to the Monitoring dashboard. The button below takes you to the dashboard for the Google Cloud project that you accessed most recently:
Monitoring dashboard
Кодлаб
To learn how to access metrics and dashboards and set up alerts, see the Monitoring Outages for Smart Home codelab.
Go to the Monitoring Outages codelab
Defaults and visibility
Predefined dashboards only display when you have project metrics available from the past 14 days.
Dashboard charts default to the last hour. If your data does not display, use the TIME selection to adjust your time-frame accordingly.
Supported metrics
Cloud Monitoring monitors the assistant_action_project resource type, and provides the following metrics:
| Метрическая система | Добрый | Описание |
|---|---|---|
smarthome_action/request_count | ДЕЛЬТА | Count of intent requests, labeled with execution_type , status , and trait .execution_type (String): Smart home intent type.status (String): Result of the request.trait (String): Smart home device trait. Events without an associated trait include the label UNKNOWN . |
smarthome_action/request_latencies | CUMULATIVE , DISTRIBUTION | Distribution of latencies for intent requests, labeled with execution_type , status , and trait .execution_type (String): Smart home intent type.status (String): Result of the request.trait (String): Smart home device trait. Events without an associated trait include the label UNKNOWN . |
smarthome_action/num_active_users | ИЗМЕРЯТЬ | Daily active users, labeled with trait .trait (String): Smart home device trait. Events without an associated trait include the label UNKNOWN . |
smarthome_action/seven_day_active_users | ИЗМЕРЯТЬ | Weekly active users, labeled with trait .trait (String): Smart home device trait. Events without an associated trait include the label UNKNOWN . |
smarthome_action/twenty_eight_day_active_users | ИЗМЕРЯТЬ | Monthly active users, labeled with trait .trait (String): Smart home device trait. Events without an associated trait include the label UNKNOWN . |
To view and query metrics, click Metrics explorer from Cloud Monitoring .
Связанные ресурсы
To learn more about using Cloud Monitoring in your project, see the following documentation :
- Pricing : Details on allotments and overage costs.
- Quotas and limits : Details on limits and retention policies for monitoring usage.