Explore: Allow switching between metrics and logs (#16959)

Adds basic support for switching between Metrics and Logs in Explore. 
Currently only test datasource that supports both Metrics and Logs.
Summary of changes:
* Moves mode (Metric, Logs) selection to the left of datasource 
picker and add some quick styling.
* Only trigger change in ToggleButton if not selected
* Set correct mode if datasource only supports logs

Closes #16808
This commit is contained in:
Marcus Efraimsson
2019-05-16 09:52:22 +02:00
committed by GitHub
parent be66ed9dab
commit e6001f57a2
12 changed files with 187 additions and 26 deletions
+1
View File
@@ -4,6 +4,7 @@
"id": "testdata",
"metrics": true,
"logs": true,
"alerting": true,
"annotations": true,