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

[Sentry] Track loading of profile page #1647

Open
mplorentz opened this issue Oct 16, 2024 · 0 comments
Open

[Sentry] Track loading of profile page #1647

mplorentz opened this issue Oct 16, 2024 · 0 comments

Comments

@mplorentz
Copy link
Member

mplorentz commented Oct 16, 2024

Create 3 Sentry transactions whenever we open a profile page.

  1. One transaction for loading the profile metadata (name, display name, bio) that should complete whenever any of this data is displayed in the UI. Let's call it ProfileView.profileInfoLoad.
  2. One transaction for loading the follow list (and relays) that finishes when they display in the UI. Let's call it ProfileView.followStatsLoad.
  3. One transaction for the initial load of the user's notes. It should complete when we have loaded one full page of notes (30 notes). Let's call it ProfileView.feedLoad.

I'm making these criteria up out of thin air. If they are too complex to implement lets discuss alternatives.

Additionally, create a widget in our Sentry dashboard or three that we can use to see how long these transactions take on average. The goal here is to understand how long our users are typically waiting for the profile screen to load, and detect regressions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant