grafana/public/app/features/explore/state
Ivana Huckova 247bdc2f9b
Explore: Add caching for queries run from logs navigation (#34297)
* WIP: Implement simple caching

* If results are cached, don't run new query and use those results

* Add duplicate key check

* Clean up

* Clean up

* Add tests for caching

* Remove unused variables

* Update public/app/features/explore/state/query.test.ts

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>

* Update public/app/features/explore/state/query.test.ts

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>

* Use decorateData to apply all decorators

* Remove unused variables

* Change loading stte to Done

* Clear cache when running query from navigation

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2021-05-24 13:56:48 +02:00
..
datasource.test.ts Dashboards: Adds cheat sheet toggle to supported query editors (#28857) 2021-01-19 23:52:09 +01:00
datasource.ts Explore/Refactor: Simplify URL handling (#29173) 2021-02-12 21:33:26 +01:00
explorePane.test.ts Explore: Add caching for queries run from logs navigation (#34297) 2021-05-24 13:56:48 +02:00
explorePane.ts Explore: Add caching for queries run from logs navigation (#34297) 2021-05-24 13:56:48 +02:00
history.ts Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
main.test.ts Routing NG: Replace Angular routing with react-router (#31463) 2021-03-10 18:03:36 +01:00
main.ts Explore: correctly cleanup state on unmount (#32557) 2021-04-07 16:53:37 +02:00
query.test.ts Explore: Add caching for queries run from logs navigation (#34297) 2021-05-24 13:56:48 +02:00
query.ts Explore: Add caching for queries run from logs navigation (#34297) 2021-05-24 13:56:48 +02:00
selectors.ts Explore: Refactor deduplication, hiding of logs and Logs component (#33531) 2021-04-29 18:26:30 +02:00
time.test.ts Explore/Refactor: Simplify URL handling (#29173) 2021-02-12 21:33:26 +01:00
time.ts Explore/Refactor: Simplify URL handling (#29173) 2021-02-12 21:33:26 +01:00
utils.test.ts Explore: Load default data source in Explore when the provided source does not exist (#32992) 2021-04-16 08:32:33 +02:00
utils.ts Explore: Add caching for queries run from logs navigation (#34297) 2021-05-24 13:56:48 +02:00