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 images #1649

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

[Sentry] Track loading of profile images #1649

mplorentz opened this issue Oct 16, 2024 · 0 comments

Comments

@mplorentz
Copy link
Member

mplorentz commented Oct 16, 2024

Create a Sentry transaction whenever we display a profile photo in the UI. Let's call it ProfileImage.load.

This transaction should begin when a view like AvatarView is initialized and complete when a profile image is displayed, excluding the placeholder image. Ideally we would also track spans to understand what amount of time is spent getting the image URL from relays, downloading the image over HTTP, and resizing it to be displayed in the UI. If these spans are too complex to implement lets discuss alternatives.

Additionally, create a widget in our Sentry dashboard 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 images 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