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
262c341b
Commit
262c341b
authored
Apr 09, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(influxdb): fixed annotation queries containting template variables, fixes #4602
parent
22b11d7d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
CHANGELOG.md
+1
-0
public/app/plugins/datasource/influxdb/datasource.ts
+1
-1
No files found.
CHANGELOG.md
View file @
262c341b
...
...
@@ -10,6 +10,7 @@
*
**Graph Panel**
: Fixed legend option max not updating, fixes
[
#4601
](
https://github.com/grafana/grafana/issues/4601
)
*
**Graph Panel**
: Fixed issue where newly added graph panels shared same axes config, fixes
[
#4582
](
https://github.com/grafana/grafana/issues/4582
)
*
**Graph Panel**
: Fixed issue with axis labels overlapping Y-axis, fixes
[
#4626
](
https://github.com/grafana/grafana/issues/4626
)
*
**InfluxDB**
: Fixed issue with templating query containing template variable, fixes
[
#4602
](
https://github.com/grafana/grafana/issues/4602
)
# 3.0.0-beta2 (2016-04-04)
...
...
public/app/plugins/datasource/influxdb/datasource.ts
View file @
262c341b
...
...
@@ -107,7 +107,7 @@ export default class InfluxDatasource {
var
timeFilter
=
this
.
getTimeFilter
({
rangeRaw
:
options
.
rangeRaw
});
var
query
=
options
.
annotation
.
query
.
replace
(
'$timeFilter'
,
timeFilter
);
query
=
this
.
templateSrv
.
replace
(
query
);
query
=
this
.
templateSrv
.
replace
(
query
,
null
,
'regex'
);
return
this
.
_seriesQuery
(
query
).
then
(
data
=>
{
if
(
!
data
||
!
data
.
results
||
!
data
.
results
[
0
])
{
...
...
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