Commit 818f63f8 by Ivana Huckova Committed by GitHub

Zipkin: Add method to display query text (#23870)

parent 78566de7
...@@ -45,6 +45,10 @@ export class ZipkinDatasource extends DataSourceApi<ZipkinQuery> { ...@@ -45,6 +45,10 @@ export class ZipkinDatasource extends DataSourceApi<ZipkinQuery> {
return true; return true;
} }
getQueryDisplayText(query: ZipkinQuery) {
return query.query;
}
private request<T = any>(apiUrl: string, data?: any, options?: DatasourceRequestOptions): Observable<{ data: T }> { private request<T = any>(apiUrl: string, data?: any, options?: DatasourceRequestOptions): Observable<{ data: T }> {
// Hack for proxying metadata requests // Hack for proxying metadata requests
const baseUrl = `/api/datasources/proxy/${this.instanceSettings.id}`; const baseUrl = `/api/datasources/proxy/${this.instanceSettings.id}`;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment