elasticearch: added support for histogram aggregations, closes #3164

This commit is contained in:
Torkel Ödegaard
2017-03-29 13:44:01 +02:00
parent 319b8d8fca
commit 085c4c56b8
7 changed files with 91 additions and 0 deletions

View File

@@ -52,6 +52,17 @@
</div>
</div>
<div ng-if="agg.type === 'histogram'">
<div class="gf-form offset-width-7">
<label class="gf-form-label width-10">Interval</label>
<input type="number" class="gf-form-input max-width-12" ng-model="agg.settings.interval" ng-blur="onChangeInternal()">
</div>
<div class="gf-form offset-width-7">
<label class="gf-form-label width-10">Min Doc Count</label>
<input type="number" class="gf-form-input max-width-12" ng-model="agg.settings.min_doc_count" ng-blur="onChangeInternal()">
</div>
</div>
<div ng-if="agg.type === 'terms'">
<div class="gf-form offset-width-7">
<label class="gf-form-label width-10">Order</label>