grafana/public/app/features/explore
Torkel Ödegaard 140ecbcf79
QueryProcessing: Observable query interface and RxJS for query & stream processing (#18899)
* I needed to learn some rxjs and understand this more, so just playing around

* Updated

* Removed all the complete calls

* Refactoring

* StreamHandler -> observable start

* progress

* simple singal works

* Handle update time range

* added error handling

* wrap old function

* minor changes

* handle data format in the subscribe function

* Use replay subject to return last value to subscribers

* Set loading state after no response in 50ms

* added missing file

* updated comment

* Added cancelation of network requests

* runRequest: Added unit test scenario framework

* Progress on tests

* minor refactor of unit tests

* updated test

* removed some old code

* Shared queries work again, and also became so much simplier

* unified query and observe methods

* implict any fix

* Fixed closed subject issue

* removed comment

* Use last returned data for loading state

* WIP: Explore to runRequest makover step1

* Minor progress

* Minor progress on explore and runRequest

* minor progress

* Things are starting to work in explore

* Updated prometheus to use new observable query response, greatly simplified code

* Revert refId change

* Found better solution for key/refId/requestId problem

* use observable with loki

* tests compile

* fix loki query prep

* Explore: correct first response handling

* Refactorings

* Refactoring

* Explore: Fixes LoadingState and GraphResults between runs (#18986)

* Refactor: Adds state to DataQueryResponse

* Fix: Fixes so we do not empty results before new data arrives
Fixes: #17409

* Transformations work

* observable test data

* remove single() from loki promise

* Fixed comment

* Explore: Fixes failing Loki and Prometheus unit tests (#18995)

* Tests: Makes datasource tests work again

* Fix: Fixes loki datasource so highligthing works

* Chore: Runs Prettier

* Fixed query runner tests

* Delay loading state indication to 200ms

* Fixed test

* fixed unit tests

* Clear cached calcs

* Fixed bug getProcesedDataFrames

* Fix the correct test is a better idea

* Fix: Fixes so queries in Explore are only run if Graph/Table is shown (#19000)

* Fix: Fixes so queries in Explore are only run if Graph/Table is shown
Fixes: #18618

* Refactor: Removes unnecessary condition

* PanelData: provide legacy data only when needed  (#19018)

* no legacy

* invert logic... now compiles

* merge getQueryResponseData and getDataRaw

* update comment about query editor

* use single getData() function

* only send legacy when it is used in explore

* pre process rather than post process

* pre process rather than post process

* Minor refactoring

* Add missing tags to test datasource response

* MixedDatasource: Adds query observable pattern to MixedDatasource (#19037)

* start mixed datasource

* Refactor: Refactors into observable parttern

* Tests: Fixes tests

* Tests: Removes console.log

* Refactor: Adds unique requestId
2019-09-12 17:28:46 +02:00
..
__mocks__ created test for graph disclaimer 2018-09-25 11:50:55 +02:00
slate-plugins Prometheus: Changes brace-insertion behavior to be less annoying (#18698) 2019-08-29 12:02:48 +02:00
state QueryProcessing: Observable query interface and RxJS for query & stream processing (#18899) 2019-09-12 17:28:46 +02:00
utils QueryProcessing: Observable query interface and RxJS for query & stream processing (#18899) 2019-09-12 17:28:46 +02:00
AdHocFilter.tsx Registry: add a reusable function registry (#17047) 2019-07-16 11:40:23 -07:00
AdHocFilterField.test.tsx Explore: Tag and Values for Influx are filtered by the selected measurement (#17539) 2019-06-14 10:13:06 +02:00
AdHocFilterField.tsx Chore: noImplicitAny Sub 500 errors (#18287) 2019-07-30 15:49:32 +02:00
ElapsedTime.tsx Explore: Add memoization and remove unused props (#18775) 2019-08-29 13:41:45 +02:00
ErrorContainer.tsx Explore: Align Explore with Dashboards and Panels (#16823) 2019-05-10 14:00:39 +02:00
Explore.tsx Explore: Adds ability to save a panel's query from Explore (#17982) 2019-09-05 13:44:37 +01:00
ExploreGraphPanel.tsx Dashboard: Adds Logs Panel (alpha) as visualization option for Dashboards (#18641) 2019-08-26 08:11:07 +02:00
ExploreTimeControls.tsx Explore: Fixes incorrect handling of utc in timeEpic (#18386) 2019-08-06 10:43:53 +02:00
ExploreToolbar.tsx Explore: Adds ability to save a panel's query from Explore (#17982) 2019-09-05 13:44:37 +01:00
JSONViewer.tsx Chore: noImplicitAny Sub 500 errors (#18287) 2019-07-30 15:49:32 +02:00
LiveLogs.tsx Fix exit live mode icon: change back to Stop. (#19043) 2019-09-12 16:01:21 +02:00
Logs.tsx Explore: Add memoization and remove unused props (#18775) 2019-08-29 13:41:45 +02:00
LogsContainer.tsx Explore: Allow pausing and resuming of live tailing (#18836) 2019-09-03 11:23:39 +02:00
NoDataSourceCallToAction.tsx Performance/Webpack: Introduces more aggressive code-splitting and other perf improvements (#18544) 2019-09-03 09:29:02 +01:00
QueryEditor.tsx Explore: Fixed issue in PanelQuery state arround cancellation (#18771) 2019-08-29 16:25:10 +02:00
QueryField.test.tsx Editor: Fixes issue where only entire lines were being copied (#18806) 2019-08-30 17:09:00 +02:00
QueryField.tsx Editor: Fixes issue where only entire lines were being copied (#18806) 2019-08-30 17:09:00 +02:00
QueryRow.tsx Performance/Webpack: Introduces more aggressive code-splitting and other perf improvements (#18544) 2019-09-03 09:29:02 +01:00
QueryRows.tsx Replaced intialQueris with queryKeys 2019-02-04 13:41:29 +01:00
QueryStatus.test.tsx Explore: Fixed query status issue (#18791) 2019-08-30 15:30:24 +02:00
QueryStatus.tsx Explore: Fixed query status issue (#18791) 2019-08-30 15:30:24 +02:00
Table.tsx Explore: elastic small fixes (#18879) 2019-09-04 10:49:09 +02:00
TableContainer.tsx Explore: Introduces PanelData to ExploreItemState (#18804) 2019-09-03 09:55:20 +02:00
Typeahead.tsx Chore: Adds typings to lodash (#16590) 2019-04-15 12:11:52 +02:00
TypeaheadInfo.tsx Feat: Suggestion list in Explore is virtualized (#16342) 2019-04-09 14:25:13 +02:00
TypeaheadItem.tsx Feat: Suggestion list in Explore is virtualized (#16342) 2019-04-09 14:25:13 +02:00
Wrapper.tsx Explore: Adds ability to save a panel's query from Explore (#17982) 2019-09-05 13:44:37 +01:00