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
60ba6ee6
Unverified
Commit
60ba6ee6
authored
Jan 08, 2018
by
Dan Cech
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
interpolate variables in tags & values during autocomplete
parent
92086bc8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
public/app/plugins/datasource/graphite/datasource.ts
+4
-4
No files found.
public/app/plugins/datasource/graphite/datasource.ts
View file @
60ba6ee6
...
@@ -286,7 +286,7 @@ export function GraphiteDatasource(instanceSettings, $q, backendSrv, templateSrv
...
@@ -286,7 +286,7 @@ export function GraphiteDatasource(instanceSettings, $q, backendSrv, templateSrv
let
httpOptions
:
any
=
{
let
httpOptions
:
any
=
{
method
:
'GET'
,
method
:
'GET'
,
url
:
'/tags/'
+
t
ag
,
url
:
'/tags/'
+
t
emplateSrv
.
replace
(
tag
)
,
// for cancellations
// for cancellations
requestId
:
options
.
requestId
,
requestId
:
options
.
requestId
,
};
};
...
@@ -317,7 +317,7 @@ export function GraphiteDatasource(instanceSettings, $q, backendSrv, templateSrv
...
@@ -317,7 +317,7 @@ export function GraphiteDatasource(instanceSettings, $q, backendSrv, templateSrv
method
:
'GET'
,
method
:
'GET'
,
url
:
'/tags/autoComplete/tags'
,
url
:
'/tags/autoComplete/tags'
,
params
:
{
params
:
{
expr
:
expressions
,
expr
:
_
.
map
(
expressions
,
expression
=>
templateSrv
.
replace
(
expression
))
,
},
},
// for cancellations
// for cancellations
requestId
:
options
.
requestId
,
requestId
:
options
.
requestId
,
...
@@ -352,8 +352,8 @@ export function GraphiteDatasource(instanceSettings, $q, backendSrv, templateSrv
...
@@ -352,8 +352,8 @@ export function GraphiteDatasource(instanceSettings, $q, backendSrv, templateSrv
method
:
'GET'
,
method
:
'GET'
,
url
:
'/tags/autoComplete/values'
,
url
:
'/tags/autoComplete/values'
,
params
:
{
params
:
{
expr
:
expressions
,
expr
:
_
.
map
(
expressions
,
expression
=>
templateSrv
.
replace
(
expression
))
,
tag
:
t
ag
,
tag
:
t
emplateSrv
.
replace
(
tag
)
,
},
},
// for cancellations
// for cancellations
requestId
:
options
.
requestId
,
requestId
:
options
.
requestId
,
...
...
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