Skip to content
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

feat: Add app&webui ready/load metrics #2126

Merged
merged 1 commit into from
May 10, 2022
Merged

Conversation

SgtPooki
Copy link
Member

@SgtPooki SgtPooki commented May 5, 2022

This PR adds metrics around app ready, so that the branch 1177-refactor-ctx-speed-improvements can show us how much it improves load times.

Visually, it's almost instant versus an abrupt error in the first-page-load, and then a painful wait until the ipfsd daemon starts.

APP_READY currently shows a load time of 13.10~ seconds with this update, and I'm sure the aforementioned branch only takes 2.

{\"key\":\"APP_READY\",\"count\":1,\"dur\":13.142644000053405,\"timestamp\":1651716859103,\"hour\":19,\"dow\":3}]","app_key":"REDACTED","device_id":"REDACTED","sdk_name":"javascript_native_nodejs","sdk_version":"20.11","timestamp":1651716859307,"hour":19,"dow":3}

@SgtPooki SgtPooki requested review from lidel and hacdias May 5, 2022 15:04
@SgtPooki
Copy link
Member Author

SgtPooki commented May 5, 2022

screenshot from metrics website:
image

Copy link
Member

@hacdias hacdias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great! I think the metrics can be useful to measure the impact of future updates/upgrades.

Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@lidel lidel merged commit 98102c7 into ipfs:main May 10, 2022
@lidel
Copy link
Member

lidel commented May 10, 2022

@SgtPooki now that this is PR merged, try following steps from DEVELOPER-NOTES.md#release-checklist and create patch release 0.20.6 🙏

@SgtPooki SgtPooki deleted the analytics-update branch May 20, 2022 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants