feature/esp-insights: Integrate esp-insights with esp-matter

This commit is contained in:
Shripad Deshpande
2024-05-16 14:50:15 +08:00
committed by Hrishikesh Dhayagude
parent bf568327d4
commit e8deadf1db
6 changed files with 103 additions and 4 deletions
+1
View File
@@ -24,4 +24,5 @@ Table of Contents
5. Security Considerations <security>
6. RAM and Flash Optimizations <optimizations>
7. API Reference <api-reference/index>
8. Integration with esp-insights <insights>
A1 Appendix FAQs <faq>
+17
View File
@@ -0,0 +1,17 @@
Enabling ESP-Insights in ESP-Matter
===================================
- To learn more about esp-insights and get started, please refer [project README.md] (https://github.com/espressif/esp-insights/blob/main/README.md).
- Before building the app, enable the option `ESP_INSIGHTS_ENABLED` through menuconfig.
- Follow the steps present [here](https://github.com/espressif/esp-insights/blob/main/examples/README.md#set-up-esp-insights-account) to set up an `insights_account`, and create an auth key.
- Create a file named `insights_auth_key.txt` in the project directory of the example.
- Download the auth key and copy Auth Key to the example.
::
cp /path/to/auth/key.txt path/to/esp-matter/examples/generic_switch/insights_auth_key.txt
- Refer the esp-matter [generic switch example](https://github.com/espressif/esp-matter/blob/main/examples/generic_switch/main/app_main.cpp) to enable the traces and metrics reported by the esp32 tracing backend in the chip SDK on the insights dashboard and about how to use the auth key for enabling insights.
- Enable the option `ENABLE_ESP_INSIGHTS_SYSTEM_STATS` to get a report of the system metrics in the chip SDK on the insights dashboard.