mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(alerting): add median reducer to frontend
This commit is contained in:
parent
2a33594c02
commit
56156fcd7f
@ -40,6 +40,7 @@ var reducerTypes = [
|
|||||||
{text: 'sum()' , value: 'sum'},
|
{text: 'sum()' , value: 'sum'},
|
||||||
{text: 'count()', value: 'count'},
|
{text: 'count()', value: 'count'},
|
||||||
{text: 'last()', value: 'last'},
|
{text: 'last()', value: 'last'},
|
||||||
|
{text: 'median()', value: 'median'},
|
||||||
];
|
];
|
||||||
|
|
||||||
var noDataModes = [
|
var noDataModes = [
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
<span class="gf-form-label query-keyword width-5" ng-if="$index===0">WHEN</span>
|
<span class="gf-form-label query-keyword width-5" ng-if="$index===0">WHEN</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="gf-form">
|
<div class="gf-form">
|
||||||
<query-part-editor class="gf-form-label query-part width-5" part="conditionModel.reducerPart" handle-event="ctrl.handleReducerPartEvent(conditionModel, $event)">
|
<query-part-editor class="gf-form-label query-part width-6" part="conditionModel.reducerPart" handle-event="ctrl.handleReducerPartEvent(conditionModel, $event)">
|
||||||
</query-part-editor>
|
</query-part-editor>
|
||||||
<span class="gf-form-label query-keyword">OF</span>
|
<span class="gf-form-label query-keyword">OF</span>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user