Josh Hunt
3c6e0e8ef8
Chore: ESlint import order ( #44959 )
...
* Add and configure eslint-plugin-import
* Fix the lint:ts npm command
* Autofix + prettier all the files
* Manually fix remaining files
* Move jquery code in jest-setup to external file to safely reorder imports
* Resolve issue caused by circular dependencies within Prometheus
* Update .betterer.results
* Fix missing // @ts-ignore
* ignore iconBundle.ts
* Fix missing // @ts-ignore
2022-04-22 14:33:13 +01:00
Piotr Jamróz
8939636492
Loki: Logs volume improvements ( #40327 )
...
* Skip logfmt errors
* Run volume queries as range queries
* Remove auto-skipping parsing errors
* Remove auto-skipping parsing errors
* Cache logs volume results
* Remove auto-loading
* Fix tests
* Clean up
* Disable logs volume in live streaming
* Clean up
* Add logs volume timeout
* Switch tooltip mode
* Increase timeout to 15s
* Fix test
* Change timeout to 10 seconds
* Remove unused code
* Extract styles
* Remove info about zoom level
2021-10-18 12:22:41 +02:00
Assaf Dayan
64f898c5f6
Explore: Fixed default data source loading ( #37059 )
...
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
2021-09-16 12:07:27 +02:00
Giordano Ricci
f79173c99d
Explore: Reuse Dashboard's QueryRows component ( #38942 )
...
* WIP
* Functional without custom wrapper component, needs highlight
* Remove latency from explore
* Sync eventbus
* Some cleanup & removal of unused code
* Avoid clearing queries when running all empty queries
* Run remaining queries when removing one
* Update snapshots
* fix failing tests
* type cleanup
* Refactor QueryRows
* update snapshot
* Remove highlighter expressions
* minor fixes in queryrows
* remove unwanted change
* fix failing e2e test
* Persist refId in explore url state
* make traces test slightly more robust
* add test for query duplication
2021-09-15 16:26:23 +01:00
Ivana Huckova
a721dd42b3
Explore: Fix import of queries between SQL data sources ( #36210 )
...
* Remove datasource property when importing same ds type queries
* Refactor imported queries
* Update public/app/features/explore/state/query.ts
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2021-06-28 16:12:46 +02:00
Andrej Ocenas
b0bd242eda
Explore/Refactor: Simplify URL handling ( #29173 )
...
* Inline datasource actions into initialisation
* Simplify url handling
* Add comments
* Remove split property from state and split Explore.tsx to 2 components
* Add comments
* Simplify and fix splitOpen and splitClose actions
* Update public/app/features/explore/ExplorePaneContainer.tsx
Co-authored-by: Giordano Ricci <gio.ricci@grafana.com>
* Update public/app/features/explore/state/explorePane.test.ts
Co-authored-by: Giordano Ricci <gio.ricci@grafana.com>
* Update public/app/features/explore/Wrapper.tsx
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* Fix test
* Fix lint
Co-authored-by: Giordano Ricci <gio.ricci@grafana.com>
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2021-02-12 21:33:26 +01:00
Andrej Ocenas
66cdc18705
Refactor/Explore: Inline datasource actions into initialisation ( #28953 )
...
* Inline datasource actions into initialisation
* Fix datasource change
* Fix rich history
* Fix test
* Move rich history init to Wrapper
* Remove console log
* TS fixes
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2020-11-19 11:33:52 +01:00
Andrej Ocenas
5bed54170e
Chore: Split Explore redux code into multiple sections ( #28819 )
...
* Split main reducer from item reducer
* Move query related redux to separate file
* Split more parts and tests
* Fix import
* Remove unused code
* Update public/app/features/explore/state/datasource.ts
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
* Add section comments
* Rename ExploreItem to ExplorePane
* Fix imports
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2020-11-09 14:48:24 +01:00