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

Add data caching to dashboards #82020

Open
narsaynorath opened this issue Dec 12, 2024 · 2 comments
Open

Add data caching to dashboards #82020

narsaynorath opened this issue Dec 12, 2024 · 2 comments

Comments

@narsaynorath
Copy link
Member

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Go to dashboard
  2. Edit a widget
  3. Go back to dashboard

Expected Result

The unedited dashboards are cached for a certain period of time and don't need to re-query the events/events-stats endpoints

Actual Result

The dashboards query each time the navigation is completed

Product Area

Dashboards

Link

No response

DSN

No response

Version

No response

@getsantry
Copy link
Contributor

getsantry bot commented Dec 12, 2024

Routing to @getsentry/product-owners-dashboards for triage ⏲️

@narsaynorath
Copy link
Member Author

The issue with caching is that within a single session of viewing the dashboard, new widgets or edited widgets will be updated but old ones could be stale. We should look at applying a reasonable cache limit, possibly in relation to the overall time window being requested.

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

No branches or pull requests

1 participant