С помощью 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.
Доступ к панелям мониторинга
There are several ways to access Monitoring dashboard s, also referred to as Analytics.
- Чтобы получить доступ Cloud Monitoring из списка проектов в Google Home Developer Console , нажмите «Просмотр» в разделе «Аналитика» . Если ваш проект уже открыт, нажмите «Аналитика» в главном меню.
- Чтобы получить доступ Cloud Monitoring из Google Cloud Console , нажмите «Просмотреть все продукты» , затем перейдите в раздел «Наблюдаемость» > «Мониторинг» .
- 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
Значения по умолчанию и видимость
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.
Поддерживаемые метрики
Cloud Monitoring отслеживает тип ресурса assistant_action_project и предоставляет следующие метрики:
| Метрическая система | Добрый | Описание |
|---|---|---|
smarthome_action/request_count | ДЕЛЬТА | Count of intent requests, labeled with execution_type , status , and trait .execution_type (String): Тип намерения для умного дома.status (строка): Результат запроса.trait (String): Smart home device trait. Events without an associated trait include the label UNKNOWN . |
smarthome_action/request_latencies | КУМУЛЯТИВНОЕ РАСПРЕДЕЛЕНИЕ | Distribution of latencies for intent requests, labeled with execution_type , status , and trait .execution_type (String): Тип намерения для умного дома.status (строка): Результат запроса.trait (String): Smart home device trait. Events without an associated trait include the label UNKNOWN . |
smarthome_action/num_active_users | ИЗМЕРЯТЬ | Ежедневно активные пользователи, помеченные trait .trait (String): Smart home device trait. Events without an associated trait include the label UNKNOWN . |
smarthome_action/seven_day_active_users | ИЗМЕРЯТЬ | Еженедельно активные пользователи, помеченные trait .trait (String): Характеристика устройства умного дома. События без связанной характеристики включают метку UNKNOWN . |
smarthome_action/twenty_eight_day_active_users | ИЗМЕРЯТЬ | Количество ежемесячно активных пользователей, помеченных trait .trait (String): Smart home device trait. Events without an associated trait include the label UNKNOWN . |
Для просмотра и запроса метрик нажмите Metrics explorer в разделе Cloud Monitoring .
Перейдите в Metrics explorer .
Связанные ресурсы
Чтобы узнать больше об использовании Cloud Monitoring в вашем проекте, ознакомьтесь со следующей документацией :
- Цены : Подробная информация о распределении квот и дополнительных расходах.
- Квоты и лимиты : Подробная информация об лимитах и политике хранения данных для мониторинга использования.