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

* Tempo: Set query editor

* Zipkin: Set query editor

* Set metrics to true so the data source as shown in dashboard data source list
This commit is contained in:
Ivana Huckova
2021-11-22 12:07:38 +01:00
committed by GitHub
parent b6b75e919b
commit 9efd85a241
5 changed files with 7 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
"id": "jaeger",
"category": "tracing",
"metrics": false,
"metrics": true,
"alerting": false,
"annotations": false,
"logs": false,

View File

@@ -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);

View File

@@ -4,7 +4,7 @@
"id": "tempo",
"category": "tracing",
"metrics": false,
"metrics": true,
"alerting": false,
"annotations": false,
"logs": false,

View File

@@ -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);

View File

@@ -4,7 +4,7 @@
"id": "zipkin",
"category": "tracing",
"metrics": false,
"metrics": true,
"alerting": false,
"annotations": false,
"logs": false,