mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
33 lines
1.0 KiB
HTML
33 lines
1.0 KiB
HTML
<query-editor-row ctrl="ctrl">
|
|
<li class="tight-form-item query-keyword" style="width: 75px">
|
|
Query
|
|
</li>
|
|
<li>
|
|
<input type="text" class="tight-form-input" style="width: 345px;" ng-model="ctrl.target.query" spellcheck='false' placeholder="Lucene query" ng-blur="ctrl.refresh()">
|
|
</li>
|
|
<li class="tight-form-item query-keyword">
|
|
Alias
|
|
</li>
|
|
<li>
|
|
<input type="text" class="tight-form-input" style="width: 200px;" ng-model="ctrl.target.alias" spellcheck='false' placeholder="alias patterns (empty = auto)" ng-blur="ctrl.refresh()">
|
|
</li>
|
|
</query-editor-row>
|
|
|
|
<div ng-repeat="agg in ctrl.target.metrics">
|
|
<elastic-metric-agg
|
|
target="ctrl.target" index="$index"
|
|
get-fields="ctrl.getFields($fieldType)"
|
|
on-change="ctrl.queryUpdated()"
|
|
es-version="ctrl.esVersion">
|
|
</elastic-metric-agg>
|
|
</div>
|
|
|
|
<div ng-repeat="agg in ctrl.target.bucketAggs">
|
|
<elastic-bucket-agg
|
|
target="ctrl.target" index="$index"
|
|
get-fields="ctrl.getFields($fieldType)"
|
|
on-change="ctrl.queryUpdated()">
|
|
</elastic-bucket-agg>
|
|
</div>
|
|
|