query.options.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <section class="grafana-metric-options">
  2. <div class="gf-form-group">
  3. <div class="gf-form">
  4. <span class="gf-form-label">
  5. <i class="fa fa-wrench"></i>
  6. </span>
  7. <span class="gf-form-label">Group by time interval</span>
  8. <input type="text" class="gf-form-input max-width-10" ng-model="ctrl.panelCtrl.panel.interval" ng-blur="ctrl.panelCtrl.refresh();"
  9. spellcheck='false' placeholder="example: >10s">
  10. <span class="gf-form-label">
  11. <i class="fa fa-question-circle" bs-tooltip="'Set a low limit by having a greater sign: example: >60s'" data-placement="right"></i>
  12. </span>
  13. </div>
  14. <div class="gf-form">
  15. <span class="gf-form-label">
  16. <i class="fa fa-info-circle"></i>
  17. </span>
  18. <span class="gf-form-label width-23">
  19. <a ng-click="ctrl.panelCtrl.toggleEditorHelp(1);" bs-tooltip="'click to show helpful info'" data-placement="bottom">
  20. alias patterns
  21. </a>
  22. </span>
  23. </div>
  24. </div>
  25. </section>
  26. <div class="pull-left">
  27. <div class="grafana-info-box" style="border: 0;" ng-if="ctrl.panelCtrl.editorHelpIndex === 1">
  28. <h5>Alias patterns</h5>
  29. <ul ng-non-bindable>
  30. <li>{{term fieldname}} = replaced with value of term group by</li>
  31. <li>{{metric}} = replaced with metric name (ex. Average, Min, Max)</li>
  32. <li>{{field}} = replaced with the metric field name</li>
  33. </ul>
  34. </div>
  35. </div>