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
63fa9f45
Commit
63fa9f45
authored
Jan 06, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InfluxDB: Fix handling of empty array in templating variable query, Fixes #1298
parent
d4c3463f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
CHANGELOG.md
+3
-0
src/app/features/influxdb/datasource.js
+2
-0
No files found.
CHANGELOG.md
View file @
63fa9f45
...
@@ -4,6 +4,9 @@
...
@@ -4,6 +4,9 @@
-
[
Issue #1297
](
https://github.com/grafana/grafana/issues/1297
)
. Graphite: Added cumulative and minimumBelow graphite functions
-
[
Issue #1297
](
https://github.com/grafana/grafana/issues/1297
)
. Graphite: Added cumulative and minimumBelow graphite functions
-
[
Issue #1296
](
https://github.com/grafana/grafana/issues/1296
)
. InfluxDB: Auto escape column names with special characters. Thanks @steven-aerts
-
[
Issue #1296
](
https://github.com/grafana/grafana/issues/1296
)
. InfluxDB: Auto escape column names with special characters. Thanks @steven-aerts
**Fixes**
-
[
Issue #1298
](
https://github.com/grafana/grafana/issues/1298
)
. InfluxDB: Fix handling of empty array in templating variable query
# 1.9.1 (2014-12-29)
# 1.9.1 (2014-12-29)
**Enhancements**
**Enhancements**
...
...
src/app/features/influxdb/datasource.js
View file @
63fa9f45
...
@@ -117,6 +117,8 @@ function (angular, _, kbn, InfluxSeries, InfluxQueryBuilder) {
...
@@ -117,6 +117,8 @@ function (angular, _, kbn, InfluxSeries, InfluxQueryBuilder) {
return
this
.
_seriesQuery
(
interpolated
)
return
this
.
_seriesQuery
(
interpolated
)
.
then
(
function
(
results
)
{
.
then
(
function
(
results
)
{
if
(
!
results
||
results
.
length
===
0
)
{
return
[];
}
return
_
.
map
(
results
[
0
].
points
,
function
(
metric
)
{
return
_
.
map
(
results
[
0
].
points
,
function
(
metric
)
{
return
{
return
{
text
:
metric
[
1
],
text
:
metric
[
1
],
...
...
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