You can get helpful usage metrics about your integrations with
[Google Cloud Monitoring](https://cloud.google.com/monitoring). Use
Cloud Monitoring to create dashboards and
[widgets](https://cloud.google.com/monitoring/charts), set up
[alerts](https://cloud.google.com/monitoring/alerts), and
[access metrics data programmatically](https://cloud.google.com/monitoring/api/v3).

[Go to Cloud Monitoring](https://console.cloud.google.com/monitoring)

## Dashboards

On the Google Cloud Monitoring dashboard page, you can find the following
[predefined dashboards](https://cloud.google.com/monitoring/charts/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 dashboards, also referred to as
Analytics.

- To access Cloud Monitoring from the Projects list on the [Google Home Developer Console](https://console.home.google.com/), click **View** from the **Analytics** heading. If your project is already open, click **Analytics** from the main menu.
- To access Cloud Monitoring from the [Google Cloud Console](https://console.cloud.google.com/), 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](https://console.cloud.google.com/monitoring/dashboards)

### 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:

| Metric | Kind | Description |
|---|---|---|
| `smarthome_action/request_count` | **DELTA** | Count of intent requests, labeled with `execution_type`, `status`, and `trait`. <br /> `execution_type` (String): Smart home intent type. <br /> `status` (String): Result of the request. <br /> `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`. <br /> `execution_type` (String): Smart home intent type. <br /> `status` (String): Result of the request. <br /> `trait` (String): Smart home device trait. Events without an associated trait include the label `UNKNOWN`. |
| `smarthome_action/num_active_users` | **GAUGE** | Daily active users, labeled with `trait`. <br /> `trait` (String): Smart home device trait. Events without an associated trait include the label `UNKNOWN`. |
| `smarthome_action/seven_day_active_users` | **GAUGE** | Weekly active users, labeled with `trait`. <br /> `trait` (String): Smart home device trait. Events without an associated trait include the label `UNKNOWN`. |
| `smarthome_action/twenty_eight_day_active_users` | **GAUGE** | Monthly active users, labeled with `trait`. <br /> `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](https://console.cloud.google.com/monitoring).

[Go to Metrics explorer](https://console.cloud.google.com/monitoring/metrics-explorer)

## Related resources

To learn more about using Cloud Monitoring in your project, see the
following [documentation](https://cloud.google.com/monitoring/docs):

- [Pricing](https://cloud.google.com/stackdriver/pricing): Details on allotments and overage costs.
- [Quotas and limits](https://cloud.google.com/monitoring/quotas): Details on limits and retention policies for monitoring usage.