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", "id": "jaeger",
"category": "tracing", "category": "tracing",
"metrics": false, "metrics": true,
"alerting": false, "alerting": false,
"annotations": false, "annotations": false,
"logs": false, "logs": false,

View File

@ -5,6 +5,6 @@ import { TempoDatasource } from './datasource';
import { TempoQueryField } from './QueryEditor/QueryField'; import { TempoQueryField } from './QueryEditor/QueryField';
export const plugin = new DataSourcePlugin(TempoDatasource) export const plugin = new DataSourcePlugin(TempoDatasource)
.setQueryEditor(TempoQueryField)
.setConfigEditor(ConfigEditor) .setConfigEditor(ConfigEditor)
.setQueryEditorHelp(CheatSheet) .setQueryEditorHelp(CheatSheet);
.setExploreQueryField(TempoQueryField);

View File

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

View File

@ -4,5 +4,5 @@ import { ZipkinQueryField } from './QueryField';
import { ConfigEditor } from './ConfigEditor'; import { ConfigEditor } from './ConfigEditor';
export const plugin = new DataSourcePlugin(ZipkinDatasource) export const plugin = new DataSourcePlugin(ZipkinDatasource)
.setConfigEditor(ConfigEditor) .setQueryEditor(ZipkinQueryField)
.setExploreQueryField(ZipkinQueryField); .setConfigEditor(ConfigEditor);

View File

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