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
70521f07
Commit
70521f07
authored
Jul 25, 2014
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InfluxDB: support for InfluxDB v0.8 'list series' response schema, Fixes #610
parent
7dc42288
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletions
+13
-1
CHANGELOG.md
+1
-0
src/app/services/influxdb/influxdbDatasource.js
+12
-1
No files found.
CHANGELOG.md
View file @
70521f07
...
...
@@ -7,6 +7,7 @@
-
[
Issue #525
](
https://github.com/grafana/grafana/issues/525
)
. InfluxDB: Enhanced series aliasing (legend names) with pattern replacements
-
[
Issue #581
](
https://github.com/grafana/grafana/issues/581
)
. InfluxDB: Add continuous query in series results (series typeahead).
-
[
Issue #584
](
https://github.com/grafana/grafana/issues/584
)
. InfluxDB: Support for alias & alias patterns when using raw query mode
-
[
Issue #610
](
https://github.com/grafana/grafana/issues/610
)
. InfluxDB: Support for InfluxdB v0.8 list series response schemea (series typeahead)
**Changes**
-
[
Issue #536
](
https://github.com/grafana/grafana/issues/536
)
. Graphite: Use unix epoch for Graphite from/to for absolute time ranges
...
...
src/app/services/influxdb/influxdbDatasource.js
View file @
70521f07
...
...
@@ -127,9 +127,20 @@ function (angular, _, kbn, InfluxSeries) {
InfluxDatasource
.
prototype
.
listSeries
=
function
()
{
return
this
.
doInfluxRequest
(
'list series'
).
then
(
function
(
data
)
{
if
(
!
data
||
data
.
length
===
0
)
{
return
[];
}
// influxdb >= 1.8
if
(
data
[
0
].
columns
)
{
return
_
.
map
(
data
[
0
].
points
,
function
(
point
)
{
return
point
[
1
];
});
}
else
{
// influxdb <= 1.7
return
_
.
map
(
data
,
function
(
series
)
{
return
series
.
name
;
return
series
.
name
;
// influxdb < 1.7
});
}
});
};
...
...
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