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

Alerting: Paginate silences table(s) #74041

Merged
merged 1 commit into from
Aug 29, 2023
Merged

Conversation

gillesdemey
Copy link
Member

@gillesdemey gillesdemey commented Aug 29, 2023

What is this feature?

This PR adds pagination to the silences tables for active and expired silences. This prevents the UI from crashing if (tens of) thousands of silences are rendered in the UI.

image

@gillesdemey gillesdemey requested a review from a team as a code owner August 29, 2023 15:51
@gillesdemey gillesdemey requested review from VikaCep, konrad147 and soniaAguilarPeiron and removed request for a team August 29, 2023 15:51
@grafana-delivery-bot grafana-delivery-bot bot added this to the 10.2.x milestone Aug 29, 2023
@@ -122,6 +122,7 @@ function SilenceList({
if (!!items.length) {
return (
<DynamicTable
pagination={{ itemsPerPage: 25 }}
Copy link
Member Author

@gillesdemey gillesdemey Aug 29, 2023

Choose a reason for hiding this comment

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

This component is used by both the expired and non-expired silences

@gillesdemey gillesdemey modified the milestone: 10.2.x Aug 29, 2023
@gillesdemey gillesdemey merged commit f1079b0 into main Aug 29, 2023
@gillesdemey gillesdemey deleted the alerting/paginate-silences branch August 29, 2023 16:07
chauchausoup pushed a commit to chauchausoup/grafana that referenced this pull request Sep 15, 2023
@zerok zerok modified the milestones: 10.2.x, 10.2.0 Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants