-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add dashboard automation #86
Conversation
* provide instructions for generating reports * get 90 days of data * if calculating=true, call active_users again
successful Github CI action publishing data for us: https://github.com/ipfs-shipyard/ignite-metrics/actions/runs/4049563926/jobs/6966074792 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self review. update coming.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm in principle, nothing blocking, some nits and performance improvements, optional.
reports/downloadDashboardData.ts
Outdated
|
||
// output the name of the app as row headers and the date labels as column headers | ||
if (!printedHeaders) { | ||
const dateLabels = activeUserData.map((day: any) => new Date(day._id).toISOString().split('T')[0]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
smart, might wanna add a comment why this works. just for our futureselves.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure what we're looking to comment about?
Co-authored-by: Nishant Arora <1895906+whizzzkid@users.noreply.github.com>
Co-authored-by: Nishant Arora <1895906+whizzzkid@users.noreply.github.com>
## [2.0.0](v1.3.0...v2.0.0) (2023-07-13) ### ⚠ BREAKING CHANGES * **stores:** Since stores are now async, upgrading to this might require some logic rework. ### Features * **stores:** Async Stores Release Please ([#132](#132)) ([c12e6ca](c12e6ca)) ### Trivial Changes * add dashboard automation ([#86](#86)) ([b8c0416](b8c0416)) * update docs/telemetry/PRIVACY_POLICY.md ([#76](#76)) ([3321ff1](3321ff1))
This PR adds reporting capabilities using google spreadsheets. We download data from countly, upload to google spreadsheets, and then use the charts from that data in Notion and Google slides.
The github action included in this PR runs every two hours to keep our metrics up to date (I could easily be swayed to update this to once/twice per day)
fixes ipfs/ipfs-gui#126