Hugo Häggmark
e5c1cbabb1
Fix: Pass missing maxDataPoints to query in Explore ( #16513 )
...
Fixes : #16490
2019-04-11 13:57:04 +02:00
Hugo Häggmark
1341f4517a
Fix: Recalculate intervals in Explore on run queries ( #16510 )
...
Fixes : #16485
2019-04-11 13:56:09 +02:00
Torkel Ödegaard
47e51cb6b3
Refactor: Plugin exports & data source / panel types ( #16364 )
...
* wip: began work off removing meta and pluginExports from DataSourceApi interface
* WIP: changing how plugins are exports and loaded
* Down the refactoring rabit hole that keeps expanding
* TestData now returns DataSourcePlugin
* Refactoring: fixed app config page loading, type renamings and more typings
* Refactor: Correct casing on DatasourceStatus => DataSourceStatus
2019-04-04 18:30:15 +02:00
Hugo Häggmark
988b7c4dc3
Feat: Adds reconnect for failing datasource in Explore ( #16226 )
...
* Style: made outlined buttons and used it in Alert component
* Refactor: clean up state on load data source failure
* Refactor: test data source thunk created
* Refactor: move logic to changeDatasource and call that from intialize
* Refactor: move load explore datasources to own thunk
* Refactor: move logic to updateDatasourceInstanceAction
* Tests: reducer tests
* Test(Explore): Added tests and made thunkTester async
* Fix(Explore): Fixed so that we do not render StartPage if there is no StartPage
* Fix(Explore): Missed type in merge
* Refactor: Thunktester did not fail tests on async failures and prevented queires from running on datasource failures
* Feat: Fadein error alert to prevent flickering
* Feat: Refresh labels after reconnect
* Refactor: Move useLokiForceLabels into useLokiLabels from PR comments
* Feat: adds refresh metrics to Prometheus languageprovider
* Style: removes padding for connected datasources
* Chore: remove implicit anys
2019-04-01 07:38:00 +02:00
Ryan McKinley
bfba47c6c4
Refactor: Move LogLevel and Labels utils to @grafana/ui ( #16285 )
...
* rename Tags to Labels in SeriesData
* move some logs stuff to grafana/ui
* add roundtrip tests
2019-03-29 09:41:37 +01:00
Dominik Prokop
a8c50ed6ba
feat(explore): make it possible to close left pane of split view ( #16155 )
...
* feat(explore): make it possible to close left pane of split view
* Use action's type prop instead of enum
2019-03-25 12:49:15 +01:00
Hugo Häggmark
eedbc485dd
Makes it possible to navigate back/forward with browser buttons in Explore ( #16150 )
...
Make it possible to navigate back/forward with browser buttons in Explore
2019-03-22 15:24:30 +01:00
Peter Holmberg
cf55d68894
using refId from panel model
2019-03-14 17:20:33 +01:00
Torkel Ödegaard
d6bab53d3b
Merge pull request #15626 from grafana/davkal/15607-explore-line-colors
...
Explore: Make sure line graphs get different colors
2019-03-13 12:21:44 +01:00
Dominik Prokop
a853e2c36e
Fix deduplication results displaying wrong data ( #15755 )
...
The log rows were mutated in the store, what resulted in wrong deduplication results as well as made the selector memoization quirky - for "the same results" the selector was running twice.
2019-03-11 11:48:14 +01:00
David Kaltschmidt
e6a74eb1a2
Explore: Make sure line graphs get different colors
...
- lines for graphs from different query rows end up in different
transactions
- within each transaction the color distribution resets leading to color
overlap
- this change takes existing transaction colors into account
2019-02-24 10:01:50 -08:00
Dominik Prokop
0a66d8afc7
Merge branch 'master' into cli/watch-sass-var
2019-02-12 17:20:14 +01:00
Dominik Prokop
dd19ec3b22
Move explore selectors to a separate file
2019-02-12 12:36:46 +01:00
Dominik Prokop
1693f083cc
Move deduplication calculation from Logs component to redux selector
2019-02-11 16:57:49 +01:00
Dominik Prokop
85780eb30c
Remove not related code
2019-02-11 13:18:16 +01:00
Dominik Prokop
cee2e4788b
Do not read store state from toggle panelaction creator
2019-02-11 12:56:37 +01:00
Dominik Prokop
c9fbd43231
Review changes
2019-02-11 11:59:48 +01:00
Dominik Prokop
229d646bfc
Persis deduplication strategy in url
2019-02-07 18:01:09 +01:00
Hugo Häggmark
2c255fd85a
Renamed initialQueries to queries
2019-02-05 06:19:40 +01:00
Hugo Häggmark
f74ebdade6
Missed to save
2019-02-04 15:11:19 +01:00
Hugo Häggmark
a0c4837eb5
Merge with master
2019-02-04 15:06:01 +01:00
Hugo Häggmark
34dd1a22ab
Fixed bug with removing a QueryRow thats not part of nextQueries
2019-02-04 14:16:15 +01:00
Hugo Häggmark
96aef3bab8
Replaced intialQueris with queryKeys
2019-02-04 13:41:29 +01:00
Hugo Häggmark
6b98b05976
Removed modifiedQueries from state
2019-02-04 11:07:32 +01:00
Hugo Häggmark
1f5bb76718
Refactor of action, actionTypes and reducer
2019-02-04 07:50:17 +01:00
Hugo Häggmark
2d0fd96621
More types and some refactoring
2019-02-04 07:50:17 +01:00
Dominik Prokop
3c358e406e
Make runQueries action independent from datasource loading
2019-02-01 14:56:54 +01:00
Dominik Prokop
2ddccb4a21
Temporarily run queries independently from UI state of explore panels
2019-02-01 12:57:09 +01:00
Dominik Prokop
6ab9355146
Restoring explore panels state from URL
2019-02-01 12:33:15 +01:00
Dominik Prokop
661de1efe1
Rename SetInitialQueries action to QueriesImported
2019-01-30 09:50:28 +01:00
Dominik Prokop
d746df485c
Add missing code
2019-01-30 09:36:23 +01:00
Dominik Prokop
9ddbfed730
Wait for queries to be imported before proceeding with datasource change
2019-01-29 15:52:36 +01:00
Dominik Prokop
8ea72eeaf7
Remove commented code
2019-01-29 15:40:01 +01:00
Dominik Prokop
010f902003
Import queries before datasource is changed
2019-01-29 15:34:28 +01:00
Torkel Ödegaard
8510f0cd11
Merge pull request #15084 from grafana/fix/explore-datasource-change
...
Update datasource before the loading has started
2019-01-28 17:55:33 +01:00
Torkel Ödegaard
fd06e51776
Merge branch 'master' into fix/explore-do-not-clear-results
2019-01-28 17:16:39 +01:00
Torkel Ödegaard
a1a905cbb1
Removed the initial data source as I could not see it being used anywhere
2019-01-28 16:31:38 +01:00
Hugo Häggmark
08f5a3338a
Making sure we do not pass a long invalid queries and save to state
2019-01-28 15:27:35 +01:00
Torkel Ödegaard
91d926f180
single import for types from @grafana/ui
2019-01-28 15:27:23 +01:00
Torkel Ödegaard
2c9a867bde
Merge branch 'master' into fix/explore-datasource-change
2019-01-28 15:24:14 +01:00
Hugo Häggmark
6b0400eed2
Firing off an action instead of listening to location changes
2019-01-28 13:27:56 +01:00
Dominik Prokop
2ff62c42ac
Prevents query result cleaning when new query trransaction starts
2019-01-28 12:57:09 +01:00
Hugo Häggmark
40f410562a
Fixed reinitialise of Explore
2019-01-28 11:45:15 +01:00
Dominik Prokop
05f9eb0766
Update datasource before the loading has started
2019-01-28 11:06:50 +01:00
David Kaltschmidt
c0277ab595
Explore: Fix scanning for logs
...
- Redux migration caused the scanner to not be set
- this change adds the setting/unsetting of the scanner in the reducer
- added test
2019-01-23 15:05:54 +01:00
Torkel Ödegaard
79bd7f4077
Fixed data source selection in explore
2019-01-21 21:36:30 +01:00
Torkel Ödegaard
205e2acdd8
Added data source type to explore state
2019-01-17 19:17:29 +01:00
Torkel Ödegaard
ecab597e5e
renaming DataSource type to DataSourceSettings and moved to grafana ui
2019-01-17 18:51:07 +01:00
Torkel Ödegaard
febb9e7168
Moved data source and data query types
2019-01-17 17:59:47 +01:00
David Kaltschmidt
648a775acb
Explore: Fix datasource selector being empty with single datasource
...
- The "missing" action was triggered unless the number of datasource >1 🤦
- Made datasource preselection more robust in case the requested datasource is already gone
2019-01-17 12:07:42 +01:00
David Kaltschmidt
9575a4a2c0
Move action properties to payload
2019-01-16 10:21:11 +01:00
David Kaltschmidt
6ff15039a9
File organization, action naming, comments
...
- moved ActionTypes to `./state/actionTypes`
- renamed click-related actions
- added comments to actions and state types
- prefixed Explore actions with `explore/`
- fixed query override issue when row was added
2019-01-15 20:04:05 +01:00
David Kaltschmidt
9aede9e636
Fix reducer issues
2019-01-15 20:04:03 +01:00
David Kaltschmidt
546a3a9d98
Connect Explore child components to store
2019-01-15 20:04:01 +01:00
David Kaltschmidt
607f7c25de
Update comments
2019-01-15 20:03:59 +01:00
David Kaltschmidt
f02f41c9b0
Move types to types/explore
2019-01-15 20:03:57 +01:00
David Kaltschmidt
be172d3e4a
Save state in URL and fix tests
2019-01-15 20:03:55 +01:00
David Kaltschmidt
68c039b289
Allow multiple Explore items for split
2019-01-15 20:03:53 +01:00
David Kaltschmidt
2be2deddb8
WIP Explore redux migration
2019-01-15 20:03:51 +01:00