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
5ad95a1c
Commit
5ad95a1c
authored
May 10, 2014
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'influxdb' of github.com:pmenglund/grafana into pmenglund-influxdb
parents
de8d4560
9dfb03aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/app/services/influxdb/influxdbDatasource.js
+2
-3
No files found.
src/app/services/influxdb/influxdbDatasource.js
View file @
5ad95a1c
...
...
@@ -138,6 +138,7 @@ function (angular, _, kbn) {
var
params
=
{
u
:
_this
.
username
,
p
:
_this
.
password
,
time_precision
:
's'
,
q
:
query
};
...
...
@@ -171,9 +172,7 @@ function (angular, _, kbn) {
var
datapoints
=
[];
for
(
var
i
=
0
;
i
<
series
.
points
.
length
;
i
++
)
{
var
t
=
Math
.
floor
(
series
.
points
[
i
][
timeCol
]
/
1000
);
var
v
=
series
.
points
[
i
][
index
];
datapoints
[
i
]
=
[
v
,
t
];
datapoints
[
i
]
=
[
series
.
points
[
i
][
index
],
series
.
points
[
i
][
timeCol
]];
}
output
.
push
({
target
:
target
,
datapoints
:
datapoints
});
...
...
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