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 06:27:43 -05:00 committed by GitHub
parent f9fb2a4e59
commit 27d61b524a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,