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(dashboards-eap): Add progressive loading for tables #88697

Conversation

narsaynorath
Copy link
Member

Supports tables for the progressive loading method in dashboards. The updates required for this require us to pass the sampling mode down to the method in the dataset config for spans which then passes it to the query params in the request.

@narsaynorath narsaynorath requested a review from a team as a code owner April 3, 2025 16:31
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Apr 3, 2025
Comment on lines +124 to +127
referrer,
undefined,
undefined,
samplingMode
Copy link
Contributor

Choose a reason for hiding this comment

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

Unrelated to this PR, but we should probably consider making this a object instead of passing in undefined multiple times

Copy link
Member Author

Choose a reason for hiding this comment

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

Totally, it's on my TODO list to change these to objects because ugh lol every time someone has to add one, you need to do this, but I'll leave it off for another PR

Copy link
Contributor

Choose a reason for hiding this comment

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

100% it should be handled separately imo

@narsaynorath narsaynorath enabled auto-merge (squash) April 4, 2025 17:40
Copy link

codecov bot commented Apr 4, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
10117 1 10116 5
View the top 1 failed test(s) by shortest run time
spansWidgetQueries triggers a preflight and then a best effort request for tables
Stack Traces | 0.037s run time
Error: expect(element).toBeInTheDocument()

element could not be found in the document
    at Object.<anonymous> (.../dashboards/widgetCard/spansWidgetQueries.spec.tsx:334:71)

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@narsaynorath narsaynorath merged commit e80d407 into master Apr 4, 2025
41 checks passed
@narsaynorath narsaynorath deleted the nar/feat/dashboards-eap-allow-progressive-loading-for-tables branch April 4, 2025 18:56
andrewshie-sentry pushed a commit that referenced this pull request Apr 8, 2025
Supports tables for the progressive loading method in dashboards. The
updates required for this require us to pass the sampling mode down to
the method in the dataset config for spans which then passes it to the
query params in the request.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants