Skip to content

v3 alerts UI laggy almost non-responsive when we have thousands of rules #15551

@alileza

Description

@alileza

What did you do?

Alerts page shows just fine, but when start typing on filter search, chrome browser just stop responding, the event not even being receive to the input search.

We have around 413 rule groups

On the video attached below, shown that it takes about 10seconds for the value to show on the input box after I type it. Even after it shown it still hanging

demovideo.mp4

so pretty much on this https://github.com/prometheus/prometheus/blob/main/web/ui/mantine-ui/src/pages/AlertsPage.tsx#L196 key-in, it takes more than 5 seconds until the value being added to the TextInput

What did you expect to see?

I expect to be able to see and search alert rules, I did try with v2 with exact same configuration, v2 perform fine on showing & searching alerts

What did you see instead? Under which circumstances?

page is laggy and non responsive.

System information

23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6000 arm64

Prometheus version

version	3.0.0
revision	c5d009d57fcccb7247e1191a0b10d74b06295388
branch	HEAD
buildUser	root@aa286d0eb00a
buildDate	20241114-16:40:43
goVersion	go1.23.3

Prometheus configuration file

Non relevant to the issue

Alertmanager version

Non relevant to the issue

Alertmanager configuration file

Non relevant to the issue

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions