2016-02-19 16:01:02 +01:00
|
|
|
<div class="gf-form-group">
|
2016-02-24 17:49:08 +01:00
|
|
|
<div class="gf-form">
|
2017-03-09 14:53:50 +09:00
|
|
|
<span class="gf-form-label width-10">Search expression</span>
|
2016-02-24 17:49:08 +01:00
|
|
|
<input type="text" class="gf-form-input" ng-model='ctrl.annotation.expr' placeholder="ALERTS"></input>
|
2015-10-02 03:19:25 +09:00
|
|
|
</div>
|
2017-03-09 14:53:50 +09:00
|
|
|
<div class="gf-form">
|
|
|
|
|
<span class="gf-form-label width-10">step</span>
|
|
|
|
|
<input type="text" class="gf-form-input max-width-6" ng-model='ctrl.annotation.step' placeholder="60s"></input>
|
|
|
|
|
</div>
|
2015-10-02 03:19:25 +09:00
|
|
|
</div>
|
2016-02-24 17:49:08 +01:00
|
|
|
|
2016-02-19 16:01:02 +01:00
|
|
|
<div class="gf-form-group">
|
2018-05-01 12:49:18 +09:00
|
|
|
<h5 class="section-heading">Field formats</h5>
|
2016-02-24 17:49:08 +01:00
|
|
|
<div class="gf-form-inline">
|
2016-02-19 16:01:02 +01:00
|
|
|
<div class="gf-form">
|
2016-02-24 17:49:08 +01:00
|
|
|
<span class="gf-form-label width-5">Title</span>
|
|
|
|
|
<input type="text" class="gf-form-input max-width-9" ng-model='ctrl.annotation.titleFormat' placeholder="alertname"></input>
|
2015-10-02 03:19:25 +09:00
|
|
|
</div>
|
2016-02-19 16:01:02 +01:00
|
|
|
<div class="gf-form">
|
2016-02-24 17:49:08 +01:00
|
|
|
<span class="gf-form-label width-5">Tags</span>
|
|
|
|
|
<input type="text" class="gf-form-input max-width-9" ng-model='ctrl.annotation.tagKeys' placeholder="label1,label2"></input>
|
2015-10-02 03:19:25 +09:00
|
|
|
</div>
|
2016-02-24 17:49:08 +01:00
|
|
|
<div class="gf-form-inline">
|
|
|
|
|
<div class="gf-form">
|
|
|
|
|
<span class="gf-form-label width-5">Text</span>
|
|
|
|
|
<input type="text" class="gf-form-input max-width-9" ng-model='ctrl.annotation.textFormat' placeholder="instance"></input>
|
|
|
|
|
</div>
|
2015-10-02 03:19:25 +09:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2018-05-01 12:49:18 +09:00
|
|
|
|
|
|
|
|
<h5 class="section-heading">Other options</h5>
|
|
|
|
|
<div class="gf-form-inline">
|
|
|
|
|
<div class="gf-form">
|
|
|
|
|
<gf-form-switch class="gf-form" label="Series value as timestamp" label-class="width-14" checked="ctrl.annotation.useValueForTime"
|
|
|
|
|
tooltip="The unit of timestamp is milliseconds. If the unit of the series value is seconds, multiply its range vector by 1000.">
|
|
|
|
|
</gf-form-switch>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2015-10-02 03:19:25 +09:00
|
|
|
</div>
|