Google Cloud Platform (GCP) provides the tools to monitor your Matter project's reliability via monitoring metrics and error logs. You can access Matter Analytics using either of the following methods:
- Click the Analytics link from the Google Home Developer Console.
- Click your Matter project's View link in the Analytics column on the Manage projects page.
If a failure happens when fulfilling user intents, the Matter Analytics pipeline will record that failure on your metrics, and publish an error in your project logs.
There are two steps in troubleshooting your project's errors:
- Monitor the state of your project with Matter metrics.
- Investigate the issue by checking the detailed error description in the error log.
You can access your project metrics in the Dashboards section of Google Cloud Platform Console, by going to Operations > Monitoring > Dashboards. Visit View Google Cloud dashboards for more information. We have created pre-defined dashboards for Matter projects which are available to your Matter projects out of the box. For more information on Monitoring your Matter integration, see Monitoring and logging.
The Matter Dashboard shows execution logs and execution success/failure metrics.
Once you get comfortable monitoring your Matter integration using metrics, the next step is to troubleshoot specific errors using logs. An error log is a JSON-like entry with fields containing useful information like time, error code, and details regarding to the originating Matter intent.
You can access your project logs in the Logs Explorer section of GCP Console, by going to Operations > Logging > Logs Explorer.
Smart Home Analytics
For information on monitoring your smart home integration, see Cloud Analytics.