Skip to content

UI: Speed up /alerts for many firing alerts via virtual scrolling#17486

Merged
Nexucis merged 1 commit intomainfrom
ui/firing-alerts-infinite-scroll
Nov 6, 2025
Merged

UI: Speed up /alerts for many firing alerts via virtual scrolling#17486
Nexucis merged 1 commit intomainfrom
ui/firing-alerts-infinite-scroll

Conversation

@juliusv
Copy link
Member

@juliusv juliusv commented Nov 6, 2025

We already have infinite scrolling for all the rules within a group, but this adds a second (nested) level of infinite scrolling for the firing alerts within a rule.

This should further improve the rendering speed for the /alerts page for Prometheus setups with many firing alerts and when you expand the individual rule panels that contain those firing alerts.

Before vs. after:

alerts-infinite-scroll.mp4

Which issue(s) does the PR fix:

Fixes #17254

Does this PR introduce a user-facing change?

[PERF] UI: Speed up /alerts for many firing alerts via virtual scrolling

We already have infinite scrolling for all the rules within a group, but this
adds a second (nested) level of infinite scrolling for the firing alerts within
a rule.

This should further improve the rendering speed for the /alerts page for
Prometheus setups with many firing alerts and when you expand the individual
rule panels that contain those firing alerts.

Fixes #17254

Signed-off-by: Julius Volz <julius.volz@gmail.com>
@juliusv juliusv requested a review from Nexucis November 6, 2025 11:30
Copy link
Member

@Nexucis Nexucis left a comment

Choose a reason for hiding this comment

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

uh this is gold !

@Nexucis Nexucis merged commit 12c9b0b into main Nov 6, 2025
46 checks passed
@Nexucis Nexucis deleted the ui/firing-alerts-infinite-scroll branch November 6, 2025 14:39
sammyqtran pushed a commit to sammyqtran/prometheus that referenced this pull request Feb 14, 2026
…ometheus#17486)

We already have infinite scrolling for all the rules within a group, but this
adds a second (nested) level of infinite scrolling for the firing alerts within
a rule.

This should further improve the rendering speed for the /alerts page for
Prometheus setups with many firing alerts and when you expand the individual
rule panels that contain those firing alerts.

Fixes prometheus#17254

Signed-off-by: Julius Volz <julius.volz@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Performance regression on Alerts with new UI on 3.50

2 participants