Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
0c61ff76
Unverified
Commit
0c61ff76
authored
Jun 22, 2020
by
Ryan McKinley
Committed by
GitHub
Jun 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DataSourceWithBackend: remove unused function (#25727)
parent
05ed7811
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
packages/grafana-runtime/src/utils/DataSourceWithBackend.ts
+5
-7
No files found.
packages/grafana-runtime/src/utils/DataSourceWithBackend.ts
View file @
0c61ff76
...
@@ -6,7 +6,6 @@ import {
...
@@ -6,7 +6,6 @@ import {
DataQuery
,
DataQuery
,
DataSourceJsonData
,
DataSourceJsonData
,
ScopedVars
,
ScopedVars
,
DataFrame
,
}
from
'@grafana/data'
;
}
from
'@grafana/data'
;
import
{
Observable
,
from
,
of
}
from
'rxjs'
;
import
{
Observable
,
from
,
of
}
from
'rxjs'
;
import
{
config
}
from
'..'
;
import
{
config
}
from
'..'
;
...
@@ -134,11 +133,6 @@ export class DataSourceWithBackend<
...
@@ -134,11 +133,6 @@ export class DataSourceWithBackend<
processResponse
?(
res
:
DataQueryResponse
):
Promise
<
DataQueryResponse
>
;
processResponse
?(
res
:
DataQueryResponse
):
Promise
<
DataQueryResponse
>
;
/**
/**
* Optionally process the results for display
*/
processDataFrameResult
?(
frame
:
DataFrame
,
idx
:
number
):
Promise
<
DataFrame
>
;
/**
* Override to skip executing a query
* Override to skip executing a query
*
*
* @virtual
* @virtual
...
@@ -146,7 +140,11 @@ export class DataSourceWithBackend<
...
@@ -146,7 +140,11 @@ export class DataSourceWithBackend<
filterQuery
?(
query
:
TQuery
):
boolean
;
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
* @virtual
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment