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.
Each keystroke on variable editor causes a rerender. Recently we implemented a fix to be able to handle time range on variable editor on Prometheus datasource See PR https://github.com/grafana/grafana/pull/78950
Because of the rerenders this effect runs quite frequently and makes calls. Rerenders let us see this problem.
To prevent this we implemented a workaround: https://github.com/grafana/grafana/pull/79763
But this is not a good solution. We should refactor PromQlLanguageProvider so it can be used functional way.
Each keystroke on variable editor causes a rerender. Recently we implemented a fix to be able to handle time range on variable editor on Prometheus datasource See PR https://github.com/grafana/grafana/pull/78950
Because of the rerenders this effect runs quite frequently and makes calls. Rerenders let us see this problem. To prevent this we implemented a workaround: https://github.com/grafana/grafana/pull/79763
But this is not a good solution. We should refactor
PromQlLanguageProvider
so it can be used functional way.