grafana / grafana

The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
https://grafana.com
GNU Affero General Public License v3.0
61.15k stars 11.68k forks source link

Alert show more will return page not found #87995

Closed valdemarpavesi closed 1 week ago

valdemarpavesi commented 1 month ago

What happened?

/grafana/alerting/list?search=fan

image image

To reproduce the problem just need two pages with Alerts, and try to show more, in order to to see all alerts, and it will return page not found.

if have only 10 alerts, it will not be a problem.

Need more pages, like: Showing 15 out of 4961 instances

What did you expect to happen?

to sow all alerts

Did this work before?

never

How do we reproduce it?

n/a

Is the bug inside a dashboard panel?

No response

Environment (with versions)?

Grafana: 10/11 OS: Linux Browser: any

Grafana platform?

Kubernetes

Datasource(s)?

No response

chenjie4255 commented 1 month ago

same here.

I think the problem is due to a wrong redirect when using the subpath to serve grafana.

in my case:

root_url: https://xxxx.io/g2/

when I click the "show all alerts" button below

image

the page's URL becomes https://xxxx.io/g2/g2/xxxxxx......

manual removing the duplicated "g2" path above is a workable workaround.

valdemarpavesi commented 3 weeks ago

It is working fine on new "Grafana v11.0.0 (277ef258d4)"

tonypowa commented 1 week ago

Thanks for reporting this issue and for sharing the solution @valdemarpavesi . Closing the issue .