Files
grafana/public/app/plugins/datasource/testdata/plugin.json
Marcus Efraimsson e6001f57a2 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
2019-05-16 09:52:22 +02:00

35 lines
599 B
JSON

{
"type": "datasource",
"name": "TestData DB",
"id": "testdata",
"metrics": true,
"logs": true,
"alerting": true,
"annotations": true,
"queryOptions": {
"minInterval": true
},
"info": {
"description": "Generates test data in different forms",
"author": {
"name": "Grafana Project",
"url": "https://grafana.com"
},
"logos": {
"small": "img/testdata.svg",
"large": "img/testdata.svg"
}
},
"includes": [
{
"type": "dashboard",
"name": "Streaming Example",
"path": "dashboards/streaming.json"
}
]
}