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
24172fca
Commit
24172fca
authored
Dec 07, 2016
by
vaibhavinbayarea
Committed by
Torkel Ödegaard
Dec 07, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added feature request "predict value" in moving averages pipeline agg (#5689)
issue-id: #5688
parent
d28726be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
public/app/plugins/datasource/elasticsearch/partials/metric_agg.html
+5
-0
public/app/plugins/datasource/elasticsearch/query_def.js
+2
-1
No files found.
public/app/plugins/datasource/elasticsearch/partials/metric_agg.html
View file @
24172fca
...
...
@@ -53,6 +53,11 @@
<input
type=
"text"
class=
"gf-form-input max-width-12"
ng-change=
"onChangeInternal()"
ng-model=
"agg.settings.model"
blur=
"onChange()"
spellcheck=
'false'
>
</div>
<div
class=
"gf-form offset-width-7"
ng-if=
"agg.type === 'moving_avg'"
>
<label
class=
"gf-form-label width-10"
>
Predict
</label>
<input
type=
"number"
class=
"gf-form-input max-width-12"
ng-model=
"agg.settings.predict"
ng-blur=
"onChangeInternal()"
spellcheck=
'false'
>
</div>
<div
class=
"gf-form offset-width-7"
ng-if=
"agg.type === 'percentiles'"
>
<label
class=
"gf-form-label width-10"
>
Percentiles
</label>
<input
type=
"text"
class=
"gf-form-input max-width-12"
ng-model=
"agg.settings.percents"
array-join
ng-blur=
"onChange()"
></input>
...
...
public/app/plugins/datasource/elasticsearch/query_def.js
View file @
24172fca
...
...
@@ -72,7 +72,8 @@ function (_) {
pipelineOptions
:
{
'moving_avg'
:
[
{
text
:
'window'
,
default
:
5
},
{
text
:
'model'
,
default
:
'simple'
}
{
text
:
'model'
,
default
:
'simple'
},
{
text
:
'predict'
,
default
:
0
}
],
'derivative'
:
[
{
text
:
'unit'
,
default
:
undefined
},
...
...
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