Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
qorus
grafana
Commits
1e6d998a
Commit
1e6d998a
authored
Mar 03, 2014
by
Torkel Ödegaard
Browse files
fixed path to influxdb editor, #103
parent
da62a565
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/services/influxdb/influxdbDatasource.js
View file @
1e6d998a
...
...
@@ -12,7 +12,7 @@ function (angular, _, kbn) {
function
InfluxDatasource
(
datasource
)
{
this
.
type
=
'
influxDB
'
;
this
.
editorSrc
=
'
app/partials/influx
DB
/editor.html
'
;
this
.
editorSrc
=
'
app/partials/influx
db
/editor.html
'
;
this
.
url
=
datasource
.
url
;
this
.
username
=
datasource
.
username
;
this
.
password
=
datasource
.
password
;
...
...
@@ -54,18 +54,6 @@ function (angular, _, kbn) {
};
InfluxDatasource
.
prototype
.
listSeries
=
function
()
{
return
this
.
doInfluxRequest
(
'
list series
'
).
then
(
function
(
results
)
{
if
(
!
results
.
data
)
{
return
[];
}
return
_
.
map
(
results
.
data
,
function
(
series
)
{
return
series
.
name
;
});
});
};
InfluxDatasource
.
prototype
.
doInfluxRequest
=
function
(
query
)
{
var
params
=
{
u
:
this
.
username
,
...
...
Write
Preview
Supports
Markdown
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