grafana/public/app/features/explore/utils
Ivana Huckova c106c7700b
Explore: Create DataSourceWithSupplementaryQueriesSupport interface to support log volume and samples (#61298)
* Create DataSourceWithLogsSampleSupport check and move to 1 place

* Add new SupplementaryQueryType

* Add and change utility functions for loading, storing ancd checking supp queries

* Add logic to redux for processing of new type of supp query

* Implement queryLogsSample used to run samples queries

* Fix tests to include also Log samples

* Add tests

* Temporarily, default to false

* Change comment

* Fix lint error

* Refactor handling of supplementary queries in query.ts

* Fix looping over array

* Remove changes for any => unknowns as in utils.ts

* Fix logic

* Fix incorrect imports after function was moved to different file

* Migrate old log volume key

* Update public/app/features/explore/utils/supplementaryQueries.ts

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

* Refactor to use DataSourceWithSupplementaryQueriesSupport

* Refactor, improve tests,  change internal API

* Update packages/grafana-data/src/types/logs.ts

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

* Add deprecation for DataSourceWithLogsVolumeSupport, but still support it

* Update comment with correct new issue

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2023-01-20 14:20:49 +01:00
..
decorators.test.ts Prometheus: New instant query results view in Explore (#60479) 2023-01-04 10:46:03 -06:00
decorators.ts Transformations: Add context parameter to transformDataFrame and operators (#60694) 2023-01-05 17:34:09 +01:00
getRawPrometheusListItemsFromDataFrame.test.ts Prometheus: New instant query results view in Explore (#60479) 2023-01-04 10:46:03 -06:00
getRawPrometheusListItemsFromDataFrame.ts Prometheus: New instant query results view in Explore (#60479) 2023-01-04 10:46:03 -06:00
links.test.ts Explore: Add correlation variables for interpolation (#61008) 2023-01-17 11:12:37 -06:00
links.ts Explore: Add correlation variables for interpolation (#61008) 2023-01-17 11:12:37 -06:00
logs.ts Explore: Create DataSourceWithSupplementaryQueriesSupport interface to support log volume and samples (#61298) 2023-01-20 14:20:49 +01:00
LogsCrossFadeTransition.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
supplementaryQueries.ts Explore: Create DataSourceWithSupplementaryQueriesSupport interface to support log volume and samples (#61298) 2023-01-20 14:20:49 +01:00
time.ts Chore: Split Explore redux code into multiple sections (#28819) 2020-11-09 14:48:24 +01:00