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
5494be44
Commit
5494be44
authored
Jul 02, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some fixes related to OpenTSDB enhancements, #1250
parent
8ed0df64
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
public/app/plugins/datasource/opentsdb/datasource.js
+1
-0
public/app/plugins/datasource/opentsdb/partials/query.editor.html
+1
-1
public/app/plugins/datasource/opentsdb/queryCtrl.js
+1
-1
No files found.
public/app/plugins/datasource/opentsdb/datasource.js
View file @
5494be44
...
...
@@ -27,6 +27,7 @@ function (angular, _, kbn) {
var
qs
=
[];
_
.
each
(
options
.
targets
,
function
(
target
)
{
if
(
!
target
.
metric
)
{
return
;
}
qs
.
push
(
convertTargetToQuery
(
target
,
options
));
});
...
...
public/app/plugins/datasource/opentsdb/partials/query.editor.html
View file @
5494be44
...
...
@@ -55,7 +55,7 @@
placeholder=
"metric name"
data-min-length=
0
data-items=
100
ng-model-onblur
ng-
blur
=
"targetBlur()"
ng-
change
=
"targetBlur()"
>
<a
bs-tooltip=
"target.errors.metric"
style=
"color: rgb(229, 189, 28)"
...
...
public/app/plugins/datasource/opentsdb/queryCtrl.js
View file @
5494be44
...
...
@@ -47,7 +47,7 @@ function (angular, _, kbn) {
};
$scope
.
suggestMetrics
=
function
(
query
,
callback
)
{
$scope
.
datasource
.
metricFindQuery
(
'metrics()'
)
$scope
.
datasource
.
metricFindQuery
(
'metrics(
'
+
query
+
'
)'
)
.
then
(
$scope
.
getTextValues
)
.
then
(
callback
);
};
...
...
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