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
a0208681
Commit
a0208681
authored
Dec 12, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
graphite: remove check so that query is sent even for possible non leaf nodes
parent
a00af85f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
10 deletions
+2
-10
docker/blocks/graphite/docker-compose.yaml
+1
-1
public/app/plugins/datasource/graphite/graphite_query.ts
+0
-8
public/app/plugins/datasource/graphite/query_ctrl.ts
+1
-1
No files found.
docker/blocks/graphite/docker-compose.yaml
View file @
a0208681
graphite
:
graphite
09
:
build
:
blocks/graphite
ports
:
-
"
8080:80"
...
...
public/app/plugins/datasource/graphite/graphite_query.ts
View file @
a0208681
...
...
@@ -120,14 +120,6 @@ export default class GraphiteQuery {
this
.
segments
.
push
({
value
:
"select metric"
});
}
hasSelectMetric
()
{
if
(
this
.
segments
.
length
>
0
)
{
return
this
.
segments
[
this
.
segments
.
length
-
1
].
value
===
'select metric'
;
}
else
{
return
false
;
}
}
addFunction
(
newFunc
)
{
this
.
functions
.
push
(
newFunc
);
this
.
moveAliasFuncLast
();
...
...
public/app/plugins/datasource/graphite/query_ctrl.ts
View file @
a0208681
...
...
@@ -218,7 +218,7 @@ export class GraphiteQueryCtrl extends QueryCtrl {
var
oldTarget
=
this
.
queryModel
.
target
.
target
;
this
.
updateModelTarget
();
if
(
this
.
queryModel
.
target
!==
oldTarget
&&
!
this
.
queryModel
.
hasSelectMetric
()
)
{
if
(
this
.
queryModel
.
target
!==
oldTarget
)
{
this
.
panelCtrl
.
refresh
();
}
}
...
...
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