### Describe This Problem The following regex query is very slow. ``` sum (rate(http_requests_counter{url=~"/api/query|/plugin/prometheus/api/v1/query.*"}[3m])) ``` But the performance is very good after splitting the query. ``` sum (rate(http_requests_counter{url="/plugin/prometheus/api/v1/query"}[3m])) sum (rate(http_requests_counter{url="/api/query"}[3m])) ``` ### Proposal Improve PQL regex query performance. ### Additional Context _No response_
Describe This Problem
The following regex query is very slow.
But the performance is very good after splitting the query.
Proposal
Improve PQL regex query performance.
Additional Context
No response