github-copilot-resources / copilot-metrics-viewer

Tool to visualize the Copilot metrics provided via the Copilot Business Metrics API (current in public beta)
https://ashy-sky-02a7d0403.5.azurestaticapps.net/
MIT License
215 stars 99 forks source link

Data Refresh Rate #44

Closed vaishnav-canarys closed 11 hours ago

vaishnav-canarys commented 2 weeks ago

Once this is deployed and set up as a dashboard, does the tool automatically sync the data every day.

DevOps-zhuang commented 1 week ago

Currently, it doesn't support auto sync, and it is in backlog to add such features. consider to save the fetched data to file or SQL.

vaishnav-canarys commented 1 week ago

So @DevOps-zhuang to reflect any new data, should we stop and start the app again

martedesco commented 11 hours ago

So @DevOps-zhuang to reflect any new data, should we stop and start the app again

API is called when the application is loaded in the browser at this moment the Organization or Enterprise tab should be selected and displayed. When the user refreshes the page in the browser, the API is called again. The API call happen once per refresh and the same API response is used to feed the charts in all the tabs! Hope it helps 👍🏼