annotations.editor.html 1.2 KB

123456789101112131415161718192021222324252627
  1. <div class="gf-form-group">
  2. <div class="gf-form">
  3. <span class="gf-form-label width-10">InfluxDB Query <tip>Example: select text from events where $timeFilter</tip></span class="gf-form-label">
  4. <input type="text" class="gf-form-input" ng-model='ctrl.annotation.query' placeholder="select text from events where $timeFilter"></input>
  5. </div>
  6. </div>
  7. </div>
  8. <div class="gf-form-group">
  9. <h6>Column mappings <tip>If your influxdb query returns more than one column you need to specify the column names below. An annotation event is composed of a title, tags, and an additional text field.</tip></h6>
  10. <div class="gf-form-inline">
  11. <div class="gf-form">
  12. <span class="gf-form-label width-4">Title</span>
  13. <input type="text" class="gf-form-input" ng-model='ctrl.annotation.titleColumn' placeholder=""></input>
  14. </div>
  15. <div class="gf-form">
  16. <span class="gf-form-label width-4">Tags</span>
  17. <input type="text" class="gf-form-input" ng-model='ctrl.annotation.tagsColumn' placeholder=""></input>
  18. </div>
  19. <div class="gf-form">
  20. <span class="gf-form-label width-4">Text</span>
  21. <input type="text" class="gf-form-input" ng-model='ctrl.annotation.textColumn' placeholder=""></input>
  22. </div>
  23. </div>
  24. </div>