|
1 | 1 | <query-editor-row query-ctrl="ctrl" class="generic-datasource-query-row" has-text-edit-mode="true"> |
2 | 2 | <div class="gf-form-inline"> |
3 | | - <label class="gf-form-label query-keyword width-8">Cluster<info-popover mode="right-normal"> |
| 3 | + <label class="gf-form-label query-keyword width-12">Cluster<info-popover mode="right-normal"> |
4 | 4 | The name of the cluster in the url |
5 | 5 | </info-popover></label> |
6 | 6 | <div class="gf-form"> |
|
10 | 10 | </div> |
11 | 11 | </div> |
12 | 12 | <div class="gf-form-inline"> |
13 | | - <label class="gf-form-label width-8">Alias<info-popover mode="right-normal"> |
| 13 | + <label class="gf-form-label width-12">Alias<info-popover mode="right-normal"> |
14 | 14 | Optional name to give this series |
15 | 15 | </info-popover></label> |
16 | 16 | <div class="gf-form"> |
|
27 | 27 | </div> |
28 | 28 | <div class="gf-form-inline" ng-if="!ctrl.target.rawQuery"> |
29 | 29 | <div class="gf-form"> |
30 | | - <label class="gf-form-label query-keyword width-8">Metric<info-popover mode="right-normal"> |
31 | | - Metric urlname. Example: tasks, rssram. |
| 30 | + <label class="gf-form-label query-keyword width-12">Metric<info-popover mode="right-normal"> |
| 31 | + Metric urlname. Example: tasks, rssram. Simple operations can be performed on metrics using |
| 32 | + RPN notation. For example if you wanted to divide the ram per task you would do: |
| 33 | + expr(rssram tasks /) |
32 | 34 | </info-popover></label> |
33 | 35 | </div> |
34 | 36 | <div> |
|
46 | 48 | <div class="gf-form" ng-if="!ctrl.target.rawQuery"> |
47 | 49 | <div class="gf-form-inline"> |
48 | 50 | <div class="gf-form"> |
49 | | - <label class="gf-form-label query-keyword width-8"> |
| 51 | + <label class="gf-form-label query-keyword width-12"> |
50 | 52 | Tags <info-popover mode="right-normal"> |
51 | 53 | Example tag values are; h: host, j: job, u: user. Value can be '*' for all or a |
52 | 54 | specific value. |
53 | 55 | </info-popover> |
54 | 56 | </label> |
55 | 57 | </div> |
56 | | - |
57 | 58 | <div class="gf-form" ng-repeat="(key, value) in ctrl.target.tags track by $index" class="gf-form"> |
58 | 59 | <label class="gf-form-label"> |
59 | 60 | {{key}} = {{value}} |
|
96 | 97 | </div> |
97 | 98 | </div> |
98 | 99 | </div> |
| 100 | + <div class="gf-form-inline" ng-if="!ctrl.target.rawQuery"> |
| 101 | + <label class="gf-form-label width-12">Downsample |
| 102 | + <info-popover mode="right-normal"> |
| 103 | + Downsampler to use |
| 104 | + </info-popover> |
| 105 | + </label> |
| 106 | + <div class="gf-form"> |
| 107 | + <input type="text" |
| 108 | + class="gf-form-input" spellcheck='false' |
| 109 | + bs-typeahead="ctrl.suggestDownsamplerValues" data-min-length=0 data-items=100 |
| 110 | + ng-model="ctrl.target.downsampler" placeholder="" ng-blur="ctrl.onChangeInternal()"> |
| 111 | + </input> |
| 112 | + </div> |
| 113 | + </div> |
99 | 114 | </query-editor-row> |
0 commit comments