Tracing: Make query editors available in dashboard for Tempo and Zipkin (#41974) (#42055)

* Tempo: Set query editor

* Zipkin: Set query editor

* Set metrics to true so the data source as shown in dashboard data source list

(cherry picked from commit 9efd85a241)

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2021-11-22 12:27:43 +01:00
committed by GitHub
co-authored by Ivana Huckova
parent f9fb2a4e59
commit 27d61b524a
5 changed files with 7 additions and 7 deletions
@@ -4,7 +4,7 @@
"id": "jaeger",
"category": "tracing",
"metrics": false,
"metrics": true,
"alerting": false,
"annotations": false,
"logs": false,
@@ -5,6 +5,6 @@ import { TempoDatasource } from './datasource';
import { TempoQueryField } from './QueryEditor/QueryField';
export const plugin = new DataSourcePlugin(TempoDatasource)
.setQueryEditor(TempoQueryField)
.setConfigEditor(ConfigEditor)
.setQueryEditorHelp(CheatSheet)
.setExploreQueryField(TempoQueryField);
.setQueryEditorHelp(CheatSheet);
@@ -4,7 +4,7 @@
"id": "tempo",
"category": "tracing",
"metrics": false,
"metrics": true,
"alerting": false,
"annotations": false,
"logs": false,
@@ -4,5 +4,5 @@ import { ZipkinQueryField } from './QueryField';
import { ConfigEditor } from './ConfigEditor';
export const plugin = new DataSourcePlugin(ZipkinDatasource)
.setConfigEditor(ConfigEditor)
.setExploreQueryField(ZipkinQueryField);
.setQueryEditor(ZipkinQueryField)
.setConfigEditor(ConfigEditor);
@@ -4,7 +4,7 @@
"id": "zipkin",
"category": "tracing",
"metrics": false,
"metrics": true,
"alerting": false,
"annotations": false,
"logs": false,