espressif / esp-insights

ESP Insights: A remote diagnostics/observability framework for connected devices
Apache License 2.0
101 stars 27 forks source link

ESP Insights examples (https case)- No logs in Dashboard #24

Closed Sky-Soo-Ap closed 1 year ago

Sky-Soo-Ap commented 1 year ago

I tried these 2 examples “minimal_diagnostics” and “diagnostics_smoke_test” with https case, but no logs in Dashboard web-site. esp-rainmaker version is “cc861bf” and ESP-IDF version is v5.0.1.

vikramdattu commented 1 year ago

Hello @Sky-Soo-Ap can you please check the time range selected on the dashboard?

Also, please do share the screenshot of the same. You may enable Insights debug prints (Option is present under idf.py menuconfig > components config > ESP Insights) and attach the console logs here.

Sky-Soo-Ap commented 1 year ago

Hi vikramdattu, I enabled Insights debug prints still no logs in Dashboard. I’m attaching the log file, sdkconfig file and Dashboard screenshots. ESP_Insights_Example_No_Logs_On_Dashboard.log sdkconfig.log ESP_Insights_Example_No_Logs_On_Dashboard ESP_Insights_Example_No_Logs_On_Dashboard-1

vikramdattu commented 1 year ago

Hi @Sky-Soo-Ap from top right corner of the dashboard, please select a wider time range for data to be displayed. Hope this helps.

Sky-Soo-Ap commented 1 year ago

Hi vikramdattu, Oh, I see those logs, thanks and I closed it. BTW, could you set the default Dashboard for showing today logs?

vikramdattu commented 1 year ago

@Sky-Soo-Ap this does actually happen for a month time period and the range keep updating. It needs a browser refresh of the dashboard page. We will consider your feedback and explore ways to improve the experience.

Sky-Soo-Ap commented 1 year ago

Hi vikramdattu, A month period is okay; But, the End time "10:10:12" seems no change, logout then login again, still is "10:10:12"; May be can set it to End of today "23:59:59", then user login will see the logs.