mirror of https://github.com/grafana/grafana
commit
8c2f7ac083
@ -1,39 +1,36 @@ |
||||
<div class="editor-row"> |
||||
<div class="section" ng-if="ctrl.annotation.index"> |
||||
<h5>Index name</h5> |
||||
<div class="editor-option"> |
||||
<input type="text" class="span4" ng-model='ctrl.annotation.index' placeholder="events-*"></input> |
||||
</div> |
||||
</div> |
||||
<div class="section"> |
||||
<h5>Search query (lucene) <tip>Use [[filterName]] in query to replace part of the query with a filter value</tip></h5> |
||||
<div class="editor-option"> |
||||
<input type="text" class="span6" ng-model='ctrl.annotation.query' placeholder="tags:deploy"></input> |
||||
<div class="gf-form-group"> |
||||
<div class="gf-form" ng-if="ctrl.annotation.index"> |
||||
<span class="gf-form-label width-14">Index name</span> |
||||
<input type="text" class="gf-form-input max-width-20" ng-model='ctrl.annotation.index' placeholder="events-*"></input> |
||||
</div> |
||||
<div class="gf-form"> |
||||
<span class="gf-form-label width-14">Search query (lucene) <tip>Use [[filterName]] in query to replace part of the query with a filter value</tip></span> |
||||
<input type="text" class="gf-form-input max-width-20" ng-model='ctrl.annotation.query' placeholder="tags:deploy"></input> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="editor-row"> |
||||
<div class="section"> |
||||
<h5>Field mappings</h5> |
||||
<div class="editor-option"> |
||||
<label class="small">Time</label> |
||||
<input type="text" class="input-small" ng-model='ctrl.annotation.timeField' placeholder="@timestamp"></input> |
||||
<div class="gf-form-group"> |
||||
<h6>Field mappings</h6> |
||||
<div class="gf-form-inline"> |
||||
<div class="gf-form"> |
||||
<span class="gf-form-label width-10">Time</span> |
||||
<input type="text" class="gf-form-input max-width-16" ng-model='ctrl.annotation.timeField' placeholder="@timestamp"></input> |
||||
</div> |
||||
|
||||
<div class="editor-option"> |
||||
<label class="small">Title</label> |
||||
<input type="text" class="input-small" ng-model='ctrl.annotation.titleField' placeholder="desc"></input> |
||||
<div class="gf-form"> |
||||
<span class="gf-form-label width-10">Title</span> |
||||
<input type="text" class="gf-form-input max-width-16" ng-model='ctrl.annotation.titleField' placeholder="desc"></input> |
||||
</div> |
||||
|
||||
<div class="editor-option"> |
||||
<label class="small">Tags</label> |
||||
<input type="text" class="input-small" ng-model='ctrl.annotation.tagsField' placeholder="tags"></input> |
||||
</div> |
||||
<div class="gf-form-inline"> |
||||
<div class="gf-form"> |
||||
<span class="gf-form-label width-10">Tags</span> |
||||
<input type="text" class="gf-form-input max-width-16" ng-model='ctrl.annotation.tagsField' placeholder="tags"></input> |
||||
</div> |
||||
|
||||
<div class="editor-option"> |
||||
<label class="small">Text</label> |
||||
<input type="text" class="input-small" ng-model='ctrl.annotation.textField' placeholder=""></input> |
||||
<div class="gf-form"> |
||||
<span class="gf-form-label width-10">Text</span> |
||||
<input type="text" class="gf-form-input max-width-16" ng-model='ctrl.annotation.textField' placeholder=""></input> |
||||
</div> |
||||
</div> |
||||
</div> |
@ -1,28 +1,28 @@ |
||||
<div class="editor-row"> |
||||
<div class="section"> |
||||
<h5>Search expression</h5> |
||||
<div class="editor-option"> |
||||
<input type="text" class="span6" ng-model='ctrl.annotation.expr' placeholder="ALERTS"></input> |
||||
<div class="gf-form-group"> |
||||
<div class="gf-form-inline"> |
||||
<div class="gf-form"> |
||||
<span class="gf-form-label width-10">Search expression</span> |
||||
<input type="text" class="gf-form-input max-width-16" ng-model='ctrl.annotation.expr' placeholder="ALERTS"></input> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="editor-row"> |
||||
<div class="section"> |
||||
<h5>Field formats</h5> |
||||
<div class="editor-option"> |
||||
<label class="small">Title</label> |
||||
<input type="text" class="input-small" ng-model='ctrl.annotation.titleFormat' placeholder="alertname"></input> |
||||
<div class="gf-form-group"> |
||||
<h6>Field formats</h6> |
||||
<div class="gf-form-inline"> |
||||
<div class="gf-form"> |
||||
<span class="gf-form-label width-10">Title</span> |
||||
<input type="text" class="gf-form-input" ng-model='ctrl.annotation.titleFormat' placeholder="alertname"></input> |
||||
</div> |
||||
|
||||
<div class="editor-option"> |
||||
<label class="small">Tags</label> |
||||
<input type="text" class="input-small" ng-model='ctrl.annotation.tagKeys' placeholder="label1,label2"></input> |
||||
<div class="gf-form"> |
||||
<span class="gf-form-label width-10">Tags</span> |
||||
<input type="text" class="gf-form-input" ng-model='ctrl.annotation.tagKeys' placeholder="label1,label2"></input> |
||||
</div> |
||||
|
||||
<div class="editor-option"> |
||||
<label class="small">Text</label> |
||||
<input type="text" class="input-small" ng-model='ctrl.annotation.textFormat' placeholder="instance"></input> |
||||
</div> |
||||
<div class="gf-form-inline"> |
||||
<div class="gf-form"> |
||||
<span class="gf-form-label width-10">Text</span> |
||||
<input type="text" class="gf-form-input" ng-model='ctrl.annotation.textFormat' placeholder="instance"></input> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
Loading…
Reference in new issue