DataSourceWithBackend: remove unused function (#25727)

pull/25762/head
Ryan McKinley 5 years ago committed by GitHub
parent 05ed781184
commit 0c61ff7672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      packages/grafana-runtime/src/utils/DataSourceWithBackend.ts

@ -6,7 +6,6 @@ import {
DataQuery,
DataSourceJsonData,
ScopedVars,
DataFrame,
} from '@grafana/data';
import { Observable, from, of } from 'rxjs';
import { config } from '..';
@ -133,11 +132,6 @@ export class DataSourceWithBackend<
*/
processResponse?(res: DataQueryResponse): Promise<DataQueryResponse>;
/**
* Optionally process the results for display
*/
processDataFrameResult?(frame: DataFrame, idx: number): Promise<DataFrame>;
/**
* Override to skip executing a query
*
@ -146,7 +140,11 @@ export class DataSourceWithBackend<
filterQuery?(query: TQuery): boolean;
/**
* Override to apply template variables
* Override to apply template variables. The result is usually also `TQuery`, but sometimes this can
* be used to modify the query structure before sending to the backend.
*
* NOTE: if you do modify the structure or use template variables, alerting queries may not work
* as expected
*
* @virtual
*/

Loading…
Cancel
Save